HTML Intro – Basic Text Format Tags

You use Tags in HTML for basic font formatting in HTML. More sophisticated formatting can be done with CSS.

  • <h1></h1> Heading Tag (Headings go from h1 to h6)
  • <p></p> Standard Paragraph tag
  • <strong></strong> for Bold
  • <em></em> for Italics
  • <u></u> for Underlining
  • <br> for Line Break

fonts.html

<h1>Heading 1</h1>
<h2>Heading 2</h2>
<h3>Heading 3</h3>
<h4>Heading 4</h4>
<h5>Heading 5</h5>
<h6>Heading 6</h6>

<p>p tag example</p>

<p><strong>strong example</strong></p>

<p><em>intalics</em> example</p>

<p><u>underlined example</u></p>

<p>Line break<br> example</p>

Be the first to comment

Leave a Reply