1.<b>
:
The bold tag in HTML is used to make text bold.
example:
<b>Bold Text</b>
output:Bold Text
2.<strong>
:
Indicates strong importance (typically bold). search engine
understand it better.
example:
<strong>Important text</strong>
Output:Important text
3.:
It is used to make text italic.
Example:
<i>This is italic text</i>
Output: This is italic text
4.<em>
:
It is used to make text italic but search engine understand better.
Example:
<em>Emphasized text</em>
Output: Emphasized text
5.<del>
:
It is used to strike out the text.
Example:
<del>Strikeout text</del>
Output:Strikeout text
**
6.<u>
:**
It used to Underline the text.
Example:
<u>Underlined text</u>
Output: Underlined text
7.<ins>
:
The <ins>
tag in HTML is used to mark inserted text in a document. It is
commonly rendered with an underline to visually indicate that the text
has been added or inserted.
Example:
<ins>Inserted text</ins>
output: Inserted text
8.<sub>
:
It is used write Subscript text.
Example:
H<sub>2</sub>O
Output: H2O
9.<sup>
:
It is used to Write Superscript text.
Example:
x<sup>2</sup>
Output: x2
10.<mark>
:
It is used to Highlights text with a yellow background.
Example:
<mark>Highlighted text</mark>
Output: Highlighted text
11.<p>
:
It is used Creates a paragraph.
Example:
<p>This is a paragraph</p>
Output:
This is a paragraph
12.<hr>
:
It is used to display horizontal line.
Example:
<hr>
Output:
13.<br>
:
It is used to line break.
Example:
Line 1<br>Line 2
Output:
Line 1
Line 2
14.<pre>
:
It is used to print text as it is including space.
Example:
<pre>
Line 1
Line 2
Line 3
</pre>
Output:
Line 1 Line 2 Line 3
15.<KBD>
:
The <kbd>
tag in HTML is used to represent keyboard input or text that the user should enter via a keyboard.
Example:
<KBD>CTRL+V</KBD>
Output:CTRL+V
Top comments (0)