Welcome Guest! (App Version 3.1)

websitnero logo name

HTML Images


  • <Img> tags are used -- to insert images in an HTML page.
  • Img tag is an inline tag.
  • src attribute is used to provide url of the image.

Adding images to HTML

Image tags are used to add images to the web pages. While with other tags you may add data as text, but what if you want to include any image along with your text content? Here come img tags.

With image tags you provide the source of the image or the path to the image file and then it is added to the web page. There are properties such as height and width for you to define any fixed dimension if you want to add to your image.

<img src="someImage.png"/>


  <p>The most beautiful girl on the earth:</p>
  <img src="../../img/common/hermione.png" />
Further Reading

1. <img>: The Image Embed element

WebsiteNero is highly optimized for learning various website developing technlogies. We try our best to add maximum modules and examples to help learn the concepts clearly and vividly. We try to present all content and examples as simple as we can removing any complexity to hurdle easy understanding. We try best provide you with worthful content, but we cannot guarantee full correctness of all the content on this site. While using this website, you agree to have read and accepted all our terms of use and conditions, cookie, and privacy policy. Copyright, 2013-2018 by websitenero.com. All Rights Reserved.