Write the description of the following tags of (HTML)
1.<img>
2.<font>
3.<strong>
4.<br>
5.<U>
6.<B>
Answers
<img> Tag:-
The <img> tag is used to insert image in a website.
Syntax:- <img src="URL" height="value" width="value"/>
Note:- The <img> tag is an empty tag.
You can add more attributes to img tag .
<font> Tag:-
The <font> tag is used to change the font color, style and size.
The text whose font is to be changed is written between this tag.
Syntax:- <font face="font_name" size="size_value" color="color_name"> Text to be covered. </font>
Note:- <font> tag is a container tag i.e. it has a closing tag.
<strong> Tag:-
The <strong> tag is used to separate a portion of text from the rest of the content.
Syntax:- <strong>Text Here</strong>
Note:- The <strong> tag is a container tag.
<br> Tag:-
BR means Break Row.
So,
<br/> tag is used for inserting a single line break.
Syntax:- <br/>
Note:- <br/> tag is an empty tag.
<u> Tag:-
The <u> tag is used to create underlined text.
The text written between <u> (opening tag) and </u> (closing tag) are underlined.
Syntax:- <u>Text Here</u>
Note:- The <u> tag is a container tag.
<b> Tag:-
The <b> tag is used to make the text bold.
The texts written between <b> and </b> are made bold.
Syntax:- <b>Text Here</b>
Note:- The <b> tag is a container tag.