List of common HTML Tags

This page is a quick reference of the most used HTML tags. You will learn each of them in detail in the next chapters.

Page structure

TagMeaning
<html>Root of the page
<head>Information about the page
<title>Page title
<meta>Metadata like charset and description
<link>Link to an external resource, like CSS
<style>Internal CSS
<script>JavaScript
<body>Visible content of the page

Text

TagMeaning
<h1> to <h6>Headings
<p>Paragraph
<br>Line break
<hr>Horizontal line (theme break)
<strong>, <b>Important text, bold
<em>, <i>Emphasis, italic
<mark>Highlighted text
<blockquote>Long quotation
<code>Computer code
<pre>Preformatted text (keeps spaces and line breaks)

Links and media

TagMeaning
<a>Link
<img>Image
<audio>Audio
<video>Video
<iframe>Another page inside this page
<canvas>Drawing area for JavaScript graphics

Lists

TagMeaning
<ul>Unordered (bullet) list
<ol>Ordered (numbered) list
<li>List item
<dl>, <dt>, <dd>Description list, term and description

Tables

TagMeaning
<table>Table
<tr>Table row
<th>Header cell
<td>Data cell
<thead>, <tbody>, <tfoot>Header, body and footer groups
<caption>Table title

Forms

TagMeaning
<form>Form
<input>Input field
<label>Label of a field
<textarea>Multi-line text box
<select>, <option>Drop-down list
<button>Button

Layout and semantic

TagMeaning
<div>Generic block container
<span>Generic inline container
<header>Top part of a page or section
<nav>Navigation links
<main>Main content of the page
<section>A section of content
<article>Independent content like a blog post
<aside>Side content
<footer>Bottom part of a page or section
Note: Some old tags like <font>, <center>, <big> and <frame> are removed from HTML5. Use CSS for styling instead.

Learn how tags work in HTML Elements and Tags.


Congratulations! Chapter Finished. Learn more about the similar topics:
Exercises & Assignments
No Content Found.
Interview Questions & Answers
No Content Found.