Friday, September 17, 2021

HTML 101: Images

 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

HTML 101: Form

  I believe that everyone who has made use of the internet knows what a form is but in case you don't know, a form is a way of receiving...