This page is designed as a quick reference for some of the common tags
covered in Learn Enough
HTML to Be Dangerous. In the process of making it,
we'll learn how to make HTML tables via table
and related tags.
The tables below don't include all HTML tags, but they do list many of the most important ones.
| Tag | Name | Purpose |
|---|---|---|
h1–h6 |
headings | include a heading (levels 1–6) |
p |
paragraph | include a paragraph of text |
table |
table | include a table |
tr |
table row | include a row of data |
th |
table header | make a table header |
td |
table data | include a table data cell |
header |
header | indicates introductory content |
div |
division | break content into sections |
ol |
ordered list | include an ordered list |
ul |
unordered list | include an unordered list |
| Tag | Name | Purpose | Example | Result |
|---|---|---|---|---|
em |
emphasized | make emphasized text | <em>technical sophistication</em> |
technical sophistication |
strong |
strong | make strong text | <strong>at least a billion people</strong> |
at least a billion people |
a |
anchor | make hyperlink | <a href="https://learnenough.com/">Learn
Enough</a> |
Learn Enough |
img |
image | include an image | <img src="https://bit.ly/1MZAFuQ" alt="Michael
Hartl"> |
|
code |
code | indicate code, usually with monospaced font | <code>git commit</code> |
git commit |
span |
span | break inline content into sections | <span>This is a phrase.</span> |
This is a phrase. |
li |
list item | indicate an item in an ordered or unordered list | <li>Milk</li> |
|