Directions: Answer the following questions based on this line of HTML code, by filling in the blank with the most appropriate response:
1. What file is being called by this IMG tag? (1 point)
2. What type of link is used to call this file? (1 point)
3. If the user loads this graphic in a text-only browser how will the browser describe it? (1 point)
4. How many pixels high is the image? (1 point)
i dont get it....pleazze help
What don't you get? Straight forward questions!
1. The image located at /images/page2/photo.gif 2. (Don't really understand this question, but the "SRC=" is what's being used to call the image.) 3. The browser will display 'Picture of Me and My Dog' 4. The image is 300 pixels high.
Let me go a little bit more in depth, to help you understand this: For question 1, if you look in the <img></img> tags you'll notice a few things having to be defined. The first one, is the source. The source is basically answering a question. Where do I go to find this image you want me to display? The answer to that would be the link that's in the quotes. For question 2, maybe I lack the knowledge in this, but it really doesn't look like you're using any 'type' of link, it's just calling to the photo. For question 3, you're using the alt tag, this is when the browser cannot support the image, or to simply have a description to go along with it, a lot of times, if you scroll over a picture, on any given website, you'll notice a small rectangle box come up, with some text inside, this is what 'alt' does, it would display “Picture of Me and My Dog”. And for question 4, pretty self explanatory, but you also need to define the size dimension of the image you want to display, the height, and the width, which are defined in pixels, so the answer would be 300. Happy HTML. :)
Join our real-time social learning platform and learn together with your friends!