This page is designed as a quick refrence for some comon 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 |
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 |
div |
division | define block-level swction in document |
header |
header | label the page header |
ol |
ordered list | list elements in numerical order |
ul |
unordered list | list elements whose order doesn't matter |
li |
list item | include a list item (ordered or unordered) |
blockquote |
block quotation | show a formatted quotation |
br |
break | enter line break |
| 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 | Format as source code |
<code>table</code>
|
table |
span |
span | Define inline section in document |
<span>Call me Ishmael.</span>
|
Call me Ishmael. |