HTML Formatting


 

HTML Formatting

1. Bold Text :

<p> <b>Write Your First Paragraph in bold text.</b></p>   

Test it Now

 <p><strong>This is an important content</strong>, and this is normal content</p>   

Test it Now

 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>  

Test it Now

2. Italic Text :

 <p> <i>Write Your First Paragraph in italic text.</i></p>   

Test it Now

 <p><em>This is an important content</em>, which displayed in italic font.</p>  

Test it Now

 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>  

Test it Now

3. HTML Marked formatting :

 <h2> I want to put a <mark> Mark</mark> on your face</h2>    

Test it Now


4. Underlined Text :

 <p> <u>Write Your First Paragraph in underlined text.</u></p>   

Test it Now

5. Strike Text :

 <p> <strike>Write Your First Paragraph with strikethrough</strike>.</p>    

Test it Now


6. Monospaced font :

 <p>Hello <tt>Write Your First Paragraph in monospaced font.</tt></p>    

Test it Now

7. Superscript Text :

 <p>Hello <sup>Write Your First Paragraph in superscript.</sup></p>   

Test it Now

8. Subscript Text :

 <p>Hello <sub>Write Your First Paragraph in subscript.</sub></p>   

Test it Now

9. Deleted Text :

 <p>Hello <del>Delete your first paragraph.</del></p>   

Test it Now

10. Inserted Text :

 <p> <del>Delete your first paragraph.</del><ins>Write another paragraph.</ins></p>   

Test it Now

11. Larger Text :

 <p>Hello <big>Write the paragraph in larger font.</big></p>   

Test it Now

12. Smaller Text :

 <p>Hello <small>Write the paragraph in smaller font.</small></p>   

Test it Now


Youtube For Videos Join Our Youtube Channel: Join Now