Block Level Elements.

Most Elements in HTML that occur within the body are one of two types: block level, or inline. A block-level element is one which typically begins on a new line. A block-level element can contain other block level elements, and inline elements. Paragraphs and headers are the two most commons elements of this sort.

<p>...</p>
Paragraph. Most browsers will use block paragraphs with no indentation and a blank line separating the paragraphs.
Example Code
<p>
O tempora, o mores! senatus haec intellegit, consul videt; hic tamen vivit. vivit? immo vero etiam in senatum venit, fit publici consili particeps, notat et designat oculis ad caedem unum quemque nostrum.
</p>
<p>
nos autem fortes viri satis facere rei publicae videmur, si istius furorem ac tela vitamus. ad mortem te, Catilina, duci iussu consulis iam pridem oportebat, in te conferri pestem quam tu in nos omnis iam diu machinaris.
</p>
Example Output

O tempora, o mores! senatus haec intellegit, consul videt; hic tamen vivit. vivit? immo vero etiam in senatum venit, fit publici consili particeps, notat et designat oculis ad caedem unum quemque nostrum.

nos autem fortes viri satis facere rei publicae videmur, si istius furorem ac tela vitamus. ad mortem te, Catilina, duci iussu consulis iam pridem oportebat, in te conferri pestem quam tu in nos omnis iam diu machinaris.

<h1>...</h1> , <h2>...</h2> , etc.
Headers. There are six levels of headers. The top level header is h1 while the bottom level header is h6. The headers define the structural importance of various sections of the documents. Generally, there is exactly one Top Level Header in any given document.
Example Code
<h1>Level One Header</h1>
<h2>Level Two Header</h2>
<h3>Level Three Header</h3>
<h4>Level Four Header</h4>
<h5>Level Five Header</h5>
<h6>Level Six Header</h6>
Example Output

Level One Header

Level Two Header

Level Three Header

Level Four Header

Level Five Header
Level Six Header

[ Back | Home | Next ]