HTML Formatting
1. Bold Text :
<p> <b>Write Your First Paragraph in bold text.</b></p>
<p><strong>This is an important content</strong>, and this is normal content</p>
Example :
<!DOCTYPE html>
<html>
<head>
<title>formatting elements</title>
</head>
<body>
<h1>Explanation of formatting element</h1>
<p><strong>This is an important content</strong>, and this is normal content</p>
</body>
</html>
2. Italic Text :
<p> <i>Write Your First Paragraph in italic text.</i></p>
<p><em>This is an important content</em>, which displayed in italic font.</p>
Example :
<!DOCTYPE html>
<html>
<head>
<title>formatting elements</title>
</head>
<body>
<h1>Explanation of italic formatting element</h1>
<p><em>This is an important content</em>, which displayed in italic font.</p>
</body>
</html>
3. HTML Marked formatting :
<h2> I want to put a <mark> Mark</mark> on your face</h2>
4. Underlined Text :
<p> <u>Write Your First Paragraph in underlined text.</u></p>
5. Strike Text :
<p> <strike>Write Your First Paragraph with strikethrough</strike>.</p>
6. Monospaced font :
<p>Hello <tt>Write Your First Paragraph in monospaced font.</tt></p>
7. Superscript Text :
<p>Hello <sup>Write Your First Paragraph in superscript.</sup></p>
8. Subscript Text :
<p>Hello <sub>Write Your First Paragraph in subscript.</sub></p>
9. Deleted Text :
<p>Hello <del>Delete your first paragraph.</del></p>
10. Inserted Text :
<p> <del>Delete your first paragraph.</del><ins>Write another paragraph.</ins></p>
11. Larger Text :
<p>Hello <big>Write the paragraph in larger font.</big></p>
12. Smaller Text :
<p>Hello <small>Write the paragraph in smaller font.</small></p>
For Videos Join Our Youtube Channel: Join Now