Basic HTML Elements List, Learn HTML Elements Examples
A - Anchor
| Syntax | <A>...</A> |
|---|---|
| Attribute Specifications |
|
ABBR - Abbreviation
| Syntax | <ABBR>...</ABBR> |
|---|---|
| Attribute Specifications |
|
ACRONYM - Acronym
| Syntax | <ACRONYM>...</ACRONYM> |
|---|---|
| Attribute Specifications |
|
ADDRESS - Address
| Syntax | <ADDRESS>...</ADDRESS> |
|---|---|
| Attribute Specifications |
|
APPLET - Java applet
| Syntax | <APPLET>...</APPLET> |
|---|---|
| Attribute Specifications |
|
AREA - Image map region
| Syntax | <AREA> |
|---|---|
| Attribute Specifications |
|
B - Bold text
| Syntax | <B>...</B> |
|---|---|
| Attribute Specifications |
|
BASE - Document base URI
| Syntax | <BASE> |
|---|---|
| Attribute Specifications |
|
BASEFONT - Base font change
| Syntax | <BASEFONT> |
|---|---|
| Attribute Specifications |
|
BIG - Large text
| Syntax | <BIG>...</BIG> |
|---|---|
| Attribute Specifications |
|
BLOCKQUOTE - Block quotation
| Syntax | <BLOCKQUOTE>...</BLOCKQUOTE> |
|---|---|
| Attribute Specifications |
|
BODY - Document body
| Syntax | <BODY>...</BODY> |
|---|---|
| Attribute Specifications |
|
BR - Line break
| Syntax | <BR> |
|---|---|
| Attribute Specifications |
|
BUTTON - Button
| Syntax | <BUTTON>...</BUTTON> |
|---|---|
| Attribute Specifications |
|
CAPTION - Table caption
| Syntax | <CAPTION>...</CAPTION> |
|---|---|
| Attribute Specifications |
|
COL - Table column
| Syntax | <COL> |
|---|---|
| Attribute Specifications |
|
COLGROUP - Table column group
| Syntax | <COLGROUP>...</COLGROUP> |
|---|---|
| Attribute Specifications |
|
DEL - Deleted text
| Syntax | <DEL>...</DEL> |
|---|---|
| Attribute Specifications |
|
DIR - Directory list
| Syntax | <DIR>...</DIR> |
|---|---|
| Attribute Specifications |
|
DIV - Generic block-level container
| Syntax | <DIV>...</DIV> |
|---|---|
| Attribute Specifications |
|
DL - Definition list
| Syntax | <DL>...</DL> |
|---|---|
| Attribute Specifications |
|
DT - Definition term
| Syntax | <DT>...</DT> |
|---|---|
| Attribute Specifications |
|
EM - Emphasis
| Syntax | <EM>...</EM> |
|---|---|
| Attribute Specifications |
|
FONT - Font change
| Syntax | <FONT>...</FONT> |
|---|---|
| Attribute Specifications |
|
FORM - Interactive form
| Syntax | <FORM>...</FORM> |
|---|---|
| Attribute Specifications |
|
FRAME - Frame
| Syntax | <FRAME> |
|---|---|
| Attribute Specifications |
|
FRAMESET - Frameset
| Syntax | <FRAMESET>...</FRAMESET> |
|---|---|
| Attribute Specifications |
|
H1 - Level-one heading
| Syntax | <H1>...</H1> |
|---|---|
| Attribute Specifications |
|
H2 - Level-two heading
| Syntax | <H2>...</H2> |
|---|---|
| Attribute Specifications |
|
H3 - Level-three heading
| Syntax | <H3>...</H3> |
|---|---|
| Attribute Specifications |
|
H4 - Level-four heading
| Syntax | <H4>...</H4> |
|---|---|
| Attribute Specifications |
|
H5 - Level-five heading
| Syntax | <H5>...</H5> |
|---|---|
| Attribute Specifications |
|
H6 - Level-six heading
| Syntax | <H6>...</H6> |
|---|---|
| Attribute Specifications |
|
HEAD - Document head
| Syntax | <HEAD>...</HEAD> |
|---|---|
| Attribute Specifications |
|
HR - Horizontal rule
| Syntax | <HR> |
|---|---|
| Attribute Specifications |
|
HTML - HTML document
| Syntax | <HTML>...</HTML> |
|---|---|
| Attribute Specifications |
|
I - Italic text
| Syntax | <I>...</I> |
|---|---|
| Attribute Specifications |
|
IFRAME - Inline frame
| Syntax | <IFRAME>...</IFRAME> |
|---|---|
| Attribute Specifications |
|
IMG - Inline image
| Syntax | <IMG> |
|---|---|
| Attribute Specifications |
|
INPUT - Form input
| Syntax | <INPUT> |
|---|---|
| Attribute Specifications |
|
LABEL - Form field label
| Syntax | <LABEL>...</LABEL> |
|---|---|
| Attribute Specifications |
|
LI - List item
| Syntax | <LI>...</LI> |
|---|---|
| Attribute Specifications |
|
LINK - Document relationship
| Syntax | <LINK> |
|---|---|
| Attribute Specifications |
|
MAP - Image map
| Syntax | <MAP>...</MAP> |
|---|---|
| Attribute Specifications |
|
MENU - Menu list
| Syntax | <MENU>...</MENU> |
|---|---|
| Attribute Specifications |
|
META - Metadata
| Syntax | <META> |
|---|---|
| Attribute Specifications |
|
OL - Ordered list
| Syntax | <OL>...</OL> |
|---|---|
| Attribute Specifications |
|
P - Paragraph
| Syntax | <P>...</P> |
|---|---|
| Attribute Specifications |
|
SCRIPT - Client-side script
| Syntax | <SCRIPT>...</SCRIPT> |
|---|---|
| Attribute Specifications |
|
SELECT - Option selector
| Syntax | <SELECT>...</SELECT> |
|---|---|
| Attribute Specifications |
|
STYLE - Embedded style sheet
| Syntax | <STYLE>...</STYLE> |
|---|---|
| Attribute Specifications |
|
TABLE - Table
| Syntax | <TABLE>...</TABLE> |
|---|---|
| Attribute Specifications |
|
TD - Table data cell
| Syntax | <TD>...</TD> |
|---|---|
| Attribute Specifications |
|
TITLE - Document title
| Syntax | <TITLE>...</TITLE> |
|---|---|
| Attribute Specifications |
|
| Contents | Plain text (including entities) |
| Contained in | HEAD |
TR - Table row
| Syntax | <TR>...</TR> |
|---|---|
| Attribute Specifications |
|
UL - Unordered list
| Syntax | <UL>...</UL> |
|---|---|
| Attribute Specifications |
|
VAR - Variable
| Syntax | <VAR>...</VAR> |
|---|---|
| Attribute Specifications |
|
| Contents | Inline elements |
| Contained in | Inline elements, block-level elements |