Welcome Guest! (App Version 3.1)
IntroductionHTML Tutorial What is HTML? My First Program in HTML Doctype Block Elements in HTML Inline Elements in HTML
Box ModelWhat is Box Model Content in Box Model Padding in Box Model Border in Box Model Margin in Box Model
HTML TagsDiv Tags H1 to H6 Tags Paragraphs Tags Span Tags Bold Tags Italic Tags
HTML UtilitiesAdding Images Adding Hyperlinks Adding Comments Types of Lists Tables Iframes Breaking Lines Horizontal Line
FormsForms in HTML Text-Box Radio Checkbox Select and Option Text Area Button Submit
HTML 5What is new in HTML5 Syntax Changes New Elements & Properties Semantic Tags New Elements New Input Types Graphics Support Canvas SVG Media Support Audio Video Client Side Storage Local Storage Session Storage Indexed DB Web SQL [dep] Cookies API Support Web Worker Web Sockets Service Worker App Cache [dep] SSE Drag & Drop Geolocation
HTML QuizHTML Quiz 1
<Img>tags are used -- to insert images in an HTML page.
srcattribute is used to provide url of the image.
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.
<body> <p>The most beautiful girl on the earth:</p> <img src="../../img/common/hermione.png" /> </body>