CCT260H5 Lecture Notes - Lecture 7: Tooltip, Alt Attribute, Peak Oil
Document Summary
Assignment 2 should be posted by next week. 44 is top/bottom value; 88 is left/right value. Padding: 1px 2px 3px 4px; is the same as. Adding an image to the content itself. 20-25% of internet users require accessibility with their websites. Alt tag must be used for accessibility. If your website is not accessible, you lost 20% of your potential users title= puppy smiling outside /> Provides additional information - context outside of image; optional. Self-closing tag = it does not require an additional tag to close it. The content of the image tag is the source. Not other dimension than the image and attributes you give it. The src (source) attribute is the image file. The alt (alternative information) attribute provides textual content if the image is missing. The title (additional information) attribute provides a tooltip for the user when they hover the cursor over it title= puppy smiling outside .