Skill Making

Always Increase Your Knowledge

Image Tag & It’s Attributes in HTML | Important Tags in HTML

Image Tag <IMG>

 

Like us on Facebook to get more updates





Image Tag is used for display a image in a webpage. If you want to display a image in a your html document then you should use <IMG> tag. In <IMG> tag, we provide a url of image which want to display. <IMG> tag is a empty tag. Image tag has many attributes to provide an awesome look of a picture. The important attribute of image tag is SRC attribute. Because it is used to provide url of the image.

Some basic attributes are given below:

  • SRC: SRC attribute is used to provide a unique url of image. This is very important attribute for image tag. If you don’t use this attribute then you can’t display a image.
  • ALT: This is a attribute of image tag. This attribute is used to display some alternative text at image. This is a important attribute for SEO. If our image can’t display due to any cause then ALT tag is display some text in the place of image.
  • WIDTH & HEIGHT: Both are also a important attributes for a image. They are used to adjust width & height of a image. If you want to adjust image size then this attribute will be used. You need to provide some value for width & height. The value will be given in pixel or percentage.
  • ALIGN: This attribute is also an important attribute for a image. This attribute is used to set alignment for a image. You can align a image at top, bottom, middle, left and right.
  • BORDER: This attribute makes more attractive display for a image. This attribute provides border for a image. You can set border size in pixels.





The source code & output for image tag is given below:

<HTML>

<HEAD>

<TITLE>Image Tag</TITLE>

</HEAD>

<BODY>

<IMG SRC=”image/image.png” ALT=” THIS IS SKILLMAKING.COM” WIDTH=700 HEIGHT=500 ALIGN=RIGHT BORDER=20PX/>

</BODY>

</HTML>




OUTPUT OF IMAGE TAG:

imagetag

124 Comments

Add a Comment
  1. You can learn to make $200/day freelancing in months if you stick with it. Some people have done it in less…and others have been doing it for years and only make $150/day. Check my video.Thanks http://ceesty.com/wmofVm

  2. I¦ve read a few good stuff here. Definitely value bookmarking for revisiting. I surprise how so much effort you set to create this type of fantastic informative website.

  3. cheapest auto insurance cheapest auto insurance in florida cheap full coverage auto insurance cheapest auto insurance

  4. online payday loans loans online payday loans no credit check online payday loans

  5. fast money loans 5000 personal loan guaranteed online payday loans loans

  6. payday loans no credit payday loans no credit bad credit personal loans guaranteed payday loans no credit

  7. auto insurance quotes comparison get auto insurance quotes auto insurance quotes comparison car insurance quotes

  8. direct auto insurance pay online car insurance quotes online extremely cheap car insurance car insurance quote

  9. credit loan calculator loans money loans for bad credit loans

  10. easiest payday loan to get secured loan payday loans online legit payday advance locations

  11. loans no credit online loans no credit check cash advance payday loans online finance

  12. bad credit payday loans bad credit fast loans loans

  13. payday loans online no credit check loans apply for payday loan online loans

  14. best car insurance companies 2018 florida auto insurance low cost auto insurance florida auto insurance

  15. get a loan payday loans no credit check payday loans online no credit check loans

  16. progressive auto insurance login ameriprise car insurance automobile insurance companies best auto insurance companies

  17. all payday lenders loan lenders private money lenders direct lending

  18. online payday loans no credit check ca payday loans payday loans no credit payday loans no credit

  19. payday loans online no credit check loan lendingtree loans

Leave a Reply

Your email address will not be published. Required fields are marked *

Skill Making © 2018 Frontier Theme