Basics of HTML And CSS - Part 2

Introduction 

 
You can read the previous part of the series:
HTML Formatting
  • Bold
  • Italic
  • Subscripts
  • Superscripts
  • Strong
  • Emphasized
  • Marked
  • Insert
  • Delete

HTML Bold tag

 
Bold tags are defined with <b></b>.
 
Example
  1. <Html>  
  2.    <head>  
  3.       <Title>    
  4.       </title>  
  5.    </head>  
  6.    <Body>  
  7.       <b>  
  8.          <p>Welcome to csharpcorner</p>  
  9.       </b>  
  10.    </body>  
  11. </html>   
Result
 
HTML Bold tag
 

HTML Italic Tag

 
Italic tags are defined with <i></i>.
 
Example
  1. <Html>  
  2.    <Head>  
  3.       <Title>    
  4.       </title>  
  5.    </head>  
  6.    <Body>  
  7.       <b>  
  8.          <p>Welcome to csharpcorner</p>  
  9.       </b>  
  10.    </body>  
  11. </html>   
Result
 
HTML Italic Tag
 

HTML Subscripts Tag

 
Subscripts tag is defined with <sub></sub>.
 
Example
  1. <Html>  
  2.    <Head>  
  3.       <Title>    
  4.       </title>  
  5.    </head>  
  6.    <Body>  
  7.       <p>Welcome to <sub>csharpcorner</sub></p>  
  8.    </body>  
  9. </html>  
Result
 
HTML Subscripts Tag
 

HTML Superscripts Tag

 
Superscripts tag is defined with <sup></sup>.
 
Example
  1. <html> <head>    
  2.     <title> </title>    
  3. </head>    
  4.     
  5. <body>    
  6.     <p>Welcome to <sup>csharpcorner</sup>2015</p>    
  7. </body>    
  8.     
  9. </html>     
Result
 
HTML Superscripts Tag
 

HTML Strong Tag

 
Strong tag is defined with <strong></strong>.
 
Example
  1. <Html>  
  2.    <Head>  
  3.       <Title>    
  4.       </title>  
  5.    </head>  
  6.    <body>  
  7.       <Strong>  
  8.          <p>Welcome to csharpcorner2015</p>  
  9.       </strong>  
  10.    </body>  
  11. </html>  
Result
 
HTML Strong Tag
 

HTML Emphasized Tag

 
Emphasized tags are defined with <em></em>.
 
Example
  1. <Html>    
  2.     
  3. <Head>    
  4.     <Title>    
  5.     </title>    
  6. </head>       
  7. <Body>    
  8.     <p>
  9.        <em>
  10.             Welcome to csharpcorner
  11.        </em>
  12.     </p>    
  13. </body>        
  14. </html>     
Result
 
HTML Emphasized Tag
 

HTML Marked tag

 
Marked tag is defined with <Mark></Mark>.
 
Example
  1. <Html>  
  2.    <Head>  
  3.       <Title>    
  4.       </title>  
  5.    </head>  
  6.    <Body>  
  7.       <p> Welcome to    
  8.          <mark> csharpcorner</mark>    
  9.       </p>  
  10.    </body>  
  11. </html>  
Result
 
HTML Marked tag
 

HTML Insert Tag

 
Insert tag is defined with <ins></ins>.
 
Example
  1. <Html>  
  2.    <Head>  
  3.       <Title>    
  4.       </title>  
  5.    </head>  
  6.    <Body>  
  7.       <p> Welcome to<ins> csharpcorner</ins ></p>  
  8.    </body>  
  9. </html>   
Result
 
HTML Insert Tag
 

HTML Delete Tag

 
Delete tag is defined with <del></del>.
 
Example
  1. <Html>  
  2.    <Head>  
  3.       <Title>    
  4.       </title>  
  5.    </head>  
  6.    <Body>  
  7.       <p> Welcome to<del> csharpcorner</del ></p>  
  8.    </body>  
  9. </html>   
Result
 
Result
 

Summary 

 
In this article, we learned about the Basics of HTML And CSS - Part 2.