The <img> tag defines an image in an HTML page.
The <img> tag has two required attributes: src and alt.
src = Source of the Picture (for example: http://w3schools.com/images/compatible_chrome.gif)
alt = Image Description
Note: Images are not technically inserted into an HTML page, images are
linked to HTML pages. The <img> tag creates a holding space for the referenced
image.
Tip: To link an image to another document, simply nest the <img> tag
inside <a> tags.
width = The Width of the Picture in px (pixels)
height = The Height of the Picture in px (pixels)
| < Prev | Next > |
|---|
Web-Community 





