Images are displayed in HTML documents sometimes do not have the same image size to the actual size.<\/span> To produce images with quality similar to the original, determination of size also becomes important to note.<\/span> Therefore perbandinganya must match the original size of the image.<\/span> To determine the size of the image, we need to fill attribute is used to determine the height HEIGHT and WIDTH image to determine the width of the image.<\/span><\/p>\n Consider the following example. <Img src = \u201cimages \/ komputer.jpg\u201d \/><\/strong><\/span> Provide information on the picture<\/strong><\/span>
\n<\/strong> The above code will display the image of komputer.jpg files are in a directory that matches the size of the original images (eg 500X375 pixels).<\/span> To minimize these images, we live minimize these values, for example<\/span>
\n <img src = images \/ komputer.jpg \u201cwidth = 320\u201d height = \u201c230\u201d \/><\/strong><\/span><\/p>\n
\n To be more impressed informative, you can provide information that is relevant and necessary (no exaggeration) of the image to display on web pages.<\/span> This information will appear in the form of a tooltip (a moment, just a few seconds) at the time Visitors hover (penjujuk mouse) onto the image.<\/span>
\n To make this kind of information, we can use the TITLE and ALT attribute in the <img>.<\/span>
\n <img src = \u201cfilename\u201d title = \u201ccaption\u201d \/><\/strong><\/span><\/p>\n