Basic text formatting in HTML

by danielkwood

HTML

<html>
  <head>
    <title>HTML Formatting</title>
  </head>
  <body>
    <p>This is a paragraph of plain text.</p>
    <hr>
    <p>This is <strong>bold</strong> text and this is <em>italicised</em> text.</p>
    <p>This is <u>underlined</u> text</p>
    <p>This is <del>deleted</del> text and this is <mark>highlighted</mark> text.</p>
    <p>This is <sub>subscripted</sub> text and this is <sup>superscripted</sup> text.</p>
    <!-- this is a comment -->
  </body>
</html>