If you wish to include images in HTML, you'll make use of the <img> tag.
The syntax is:
<img src="" alt="" height="" width=""/>
- img: this is the image tag that allows the browser display images .
- src: this is another example of an attribute. It is used to point to the location of image you wish to display
- alt: this is a description it usually shows when a mouse hovers over the image.
- height and width: these are used to size the image.
No comments:
Post a Comment