CCT286H5 Chapter Notes - Chapter 5: Scalable Vector Graphics, Gif, Tooltip
Document Summary
Images are used to set the tone for a site in less time than it takes to read a description. - add an image to your page. (empty element) src - tells the browser where the image file is alt - text describe of image if image does not load title - title tooltip for your image. /*if your image is on your harddrive */ width - set the width of the image height - set the height of the image. Images take longer to load than html code so it"s a good idea to specify the size of the image. Browsers will show html elements in two ways. Block elements always appear on a new line. Inline elements sit within a block level element and do not start on a new line align [outdated] - used to align the image; in html5, we use css to align the image.