Lesson 2 – HTML Tags

In the previous lesson, we were introduced to HTML.

Here are some common HTML tags.

  • <h1>…</h1>, <h2>…</h2>, ….
  • <p>…</p>
  • <div>…</div>
  • <ul>…</ul> or <ol>…</ol>, and <li>…</li> inside
  • <dl>…</dl>, <dt>…</dt>, and <dd>…</dd> inside
  • <em>…</em>
  • <strong>…</strong>
  • <hr>
  • <table>
    <tr><td>…</td></tr></table>
  • <pre>…</pre>
  • <span>…</span>

Try these in your HTML document.