Term
Always start each page with a DOCTYPE, but following that the html must always be the top or root element of your page. |
|
Definition
|
|
Term
Only the head and body elements can go directly inside of the html element. This means that every other element must either go inside the head or body element! |
|
Definition
|
|
Term
Always give your head element a title element! |
|
Definition
|
|
Term
You can only but block elements inside of the body element. All inline elements and text needs to be inside another block element before they can go inside the body element. |
|
Definition
|
|
Term
The only thing you can put in inline elements are text and other inline elements. |
|
Definition
|
|
Term
Paragraphs are for text, so keep block elements out of your paragraphs. |
|
Definition
|
|
Term
Only the LI elements is allowed inide the OL and UL elements. |
|
Definition
|
|
Term
You can put text, inline elements, and/or block elements inside your list. items. |
|
Definition
|
|
Term
The blockquote elements requires blockquote elements inside it. |
|
Definition
|
|
Term
Never nest an "A" element inside of another "A" element. Empty elements like IMG provide no way to nest inline elements within them. |
|
Definition
|
|