HTML Formatting - Cheat Sheet

  • <b> - Bold Text
  • <strong> - Important Text | Bold
  • <i> - Italic Text
  • <em> - Emphasized | Italic 
  • <mark> - Highlighted Text
  • <del> - Deleted Text Crossline 
  • <sup> - SuperScript | Top 
  • <sub> - SubScript | Bottom 
  • <pre> - Preformatted Text 
  • <code> - Computer Code

<!DOCTYPE html>
<html>
    <body>
        <b>Bold Text</b>
        <strong>Important Text | Bold</strong>
        <i>Italic Text</i>
        <em>Emphasized | Italic </em>
        <mark>Highlighted Text</mark>
        <del>Deleted Text Crossline </del>
        Actual Text<sup>SuperScript | Top </sup>
        Actual Text<sub>SubScript | Bottom </sub>
        <pre>Preformatted Text </pre>
        <code>Computer Code</code>
    </body>
</html>

Output

Bold Text

Important Text | Bold

Italic Text

Emphasized | Italic

Highlighted Text

Deleted Text Crossline

Actual text SuperScript | Top

Actual text SubScript | Bottom

Preformatted Text 

Computer Code



No comments:

Post a Comment

HTML Forms - Input Types - Cheat Sheet

Popular Posts