Most common HTML tags
Here is a list of all the HTML tags you should learn first.
Those are the ones you will use the most.
Tag | Name | Live exemple | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
<h1> <h2> <h3> <h4> <h5> <h6>
|
Headings |
Heading 1Heading 2Heading 3Heading 4Heading 5Heading 6 |
||||||||||||
<p> |
Paragraph |
This is a paragraph. This is an other paragraph. |
||||||||||||
<i> |
Italic | This text is normal but this one is italic. | ||||||||||||
<b> |
Bold | This text is normal but this one is bold. | ||||||||||||
<u> |
Underline | This text is normal but this one is underlined. | ||||||||||||
<s> |
Strike through |
This text is |
||||||||||||
<sub> |
Subscripted | Lorem ipsum doloramet | ||||||||||||
<sup> |
Superscripted | Lorem ipsum doloramet | ||||||||||||
<div> |
Division |
First
Second
|
||||||||||||
<span> |
Span | First Second | ||||||||||||
<br> |
Linebreak |
This text is splitted in two by a linebreak. |
||||||||||||
<hr> |
Horizontal line |
This text is splitted in two by an horizontal line. |
||||||||||||
<a> |
Anchor |
this link brings you somewhere else, while this one go to an anchor in the page |
||||||||||||
<img> |
Image |
|
||||||||||||
<blockquote> |
Blockquote |
Broadly, a citation is a reference to a published or unpublished source (not always the original source) |
||||||||||||
<ol> <li>
|
Ordered list |
|
||||||||||||
<ul> <li>
|
Unordered list |
|
||||||||||||
<table> <tr> <th> <td> |
Table |
|
||||||||||||
<pre> |
Preformatted |
The text inside this preformatted tag will keep |
||||||||||||
<form> |
Form | |||||||||||||
<input> |
Input |
|
||||||||||||
<textarea> |
Textarea | |||||||||||||
<select> <option>
|
Dropdown | first second third |