HTML Img Tag

    • Description:  <img> refer to image tag and src is attribute which loads image specified in given path.
    • Example syntax: <img src=”myimage.jpg”width=”500″ height=”600″>

    • The “alt” attribute provides a text description of the image, which is displayed if the image cannot be loaded .
    • width & height defines the size of the image need to be shown.

    Leave a Comment

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

    Scroll to Top