Skip to content
Justice Tech School

HTML Tag Overview

Tags come in pairs with an opening and closing tag, or alone as void elements such as br, hr and img. Learn the groups: structure, text, links, media, lists, tables and forms.

Example
<p>Paired: <strong>text</strong></p>
<p>Void tag: line<br>break</p>
<hr>
<img alt="" width="1" height="1" src="data:,">

Exercise

Void tag for a line break.

Line one<>Line two

Quiz Test

Which is a void element?

These free lessons are for learning. Join a full course for projects, mentor feedback and a verified certificate.