Name: 
 

Hour 08 - Putting Graphics on a Web Page - Study Guide



True/False
Indicate whether the statement is true or false.
 

 1. 

Both the src and alt attributes of the <img /> tag are required in XHTML web pages.
 

 2. 

Images displayed on your web site must be located in your site.
 

 3. 

The alt message in a <img /> tag includes a short text message that can help anyone who is visually impaired or is using a voice-based interface to read the web page.
 

 4. 

To follow the latest XHTML standards it is not required to include the alt attribute in the <img /> tag.
 

 5. 

Images can be used as a clickable link to another image.
 

 6. 

To horizontally align images on a page you would use the <div style=”image-align:center”>, <div style=”image-align:right”>, and <div style=”image-align:left”>, tag.
 

 7. 

To wrap text around both sides of an image you would use the <img style=”float:center” /> attribute
 

 8. 

To align up the top of an image with the top of the tallest image or letter on the same line, use <img style=”vertical-align:text-top” /> tag and attribute.
 

 9. 

To align up the bottom of an image with the bottom of the text, use <img style=”vertical-align:text-bottom” /> tag and attribute.
 

 10. 

To align up the middle of an image with the overall vertical center of everything on the line, use <img style=”vertical-align:middle” /> tag and attribute.
 

 11. 

With the new title attribute you can display the message Click to view larger picture when the mouse is hovered over the image.  The alt attribute would be used to give a brief description.
 

 12. 

The width and height specified for an image must match the image’s actual width and height for the image to display.
 



 
Check Your Work     Start Over