Image tag in html

    insertion of image in html
    placement of image in html
    inserting image in html notepad
    inserting image in html from folder
  • Insertion of image in html
  • How to insert image in html using notepad...

    What is the correct html for inserting a background image?

  • How to insert image in html from folder
  • How to insert image in html using notepad
  • Html image size
  • Html image link
  • HTML Images

    In this tutorial you will learn how to include images in an HTML document.

    Inserting Images into Web Pages

    Images enhance visual appearance of the web pages by making them more interesting and colorful.

    The tag is used to insert images in the HTML documents.

    It is an empty element and contains attributes only. The syntax of the tag can be given with:

    <img src="url" alt="some_text">

    The following example inserts three images on the web page:

    Example

    Try this code »

    Each image must carry at least two attributes: the attribute, and an attribute.

    The attribute tells the browser where to find the image.

    Its value is the URL of the image file.

    Whereas, the attribute provides an alternative text for the image, if it is unavailable or cannot be displayed for some reason. Its value should be a meaningful substitute for the image.

    Note: Like , the element is also an empty element, and does not have a closing tag.

    However, in XHTML it closes itself ending with "".

    Tip: The required attribute provides alternative text description for an imag

      inserting image in html document
      inserting image in html table