-->

HTML img tag

HTML<img>tag


HTML <img> tag


HTML img tag:

This is a single tag. This tag not have beginning or closing tag. <img/> That is only single tag. This <img> element defines an image in HTML page. The HTML <img> element have two required attributes is alt and src. This tag using for displaying image,pictures or photo. The image used for display to jpg, png, gif and more. And use some attributes for changing size the attributes is height and width.

Default size
<img>=image.
Copy this code and past your page.



With Changing size



Example:

Result:

HTML <img> tag



Example:



Result:



HTML <img> tag




Support Browser
HTML <img> tag
Browser

Google 
 Chrome  
HTML <img> tag
Internet
Explorer
HTML <img> tag
Firefox
HTML <img> tag
Opera  
HTML <img> tag
 Safari   
<img>
YesYes Yes Yes  Yes





  • Html Version Differenc: Differences Between HTML 5 and 4.01.

In HTML5 align, border, hspace, and vspace attributes are not supported.




If you want to display an image using HTML code, ues HTML <img> tag.



1. What is the <img> tag ?

2. What is the using for <img> tag ?


3. What is the definition of <img> tag ?


4. What is the <img> tag mean ?


5. How can You displaying image using HTML ?






Facebook Comments

Follow by Email