-
Introduction
-
Types of HTML Tags
-
HTML Document & It's different Sections
-
Requirement of HTML
-
Basic tags used in any HTML document
-
Heading Tag
-
Line Break Tag & Section Separator Tag
-
Paragraph, Bold, Italic & Underline Tag
-
Big, Small, Marquee, Subscript & Superscript Tag
-
Teletype & Strike Tag
-
Tag Attribute with Examples
-
Font Tag
-
Table Tag
-
List Tag (OL, UL & DL Tag)
-
Form Tag
-
Image Tag
-
HTML 5 Input Types
-
DHTML
-
XML
HTML
IMAGE TAG
• This is used to insert picture or image in an HTML page.
• This is a singular or unpaired tag.
• This is represented as <IMG> tag.
• Example :-
<html>
<head>
<title> IMAGE </title>
</head>
<body>
<img src="https://drive.google.com/thumbnail?id=1zGoFczd4VgB8_mEOICYWARPDnO4KVzUr" alt="RK TECH TUTORIAL" width="200" height="200">
</body>
</html>
​
OUTPUT:
• Attributes:-
1. Src :-
This attribute is used to give or write the path or location of the image.
2. Alt:-
This attribute is used to display the text in the alternative of image, when because of some problem image cannot be displayed on the HTML page.
3. Width and height:-
These attributes are used to represent the size of the image.
Related Topics
-
Introduction
-
Types of HTML Tags
-
HTML Document & It's different Sections
-
Requirement of HTML
-
Basic tags used in any HTML document
-
Heading Tag
-
Line Break Tag & Section Separator Tag
-
Paragraph, Bold, Italic & Underline Tag
-
Big, Small, Marquee, Subscript & Superscript Tag
-
Teletype & Strike Tag
-
Tag Attribute with Examples
-
Font Tag
-
Table Tag
-
List Tag (OL, UL & DL Tag)
-
Form Tag
-
Image Tag
-
HTML 5 Input Types
-
DHTML
-
XML