A brief introduction to HTML
|
Let's do that [2] block level tags
- Mark the beginning of the main
headline with <h1>
- Mark the end of the main headline with
</h1>
- Mark the beginning and end of each paragraph with
<p> and </p>
respectively
-
Other tags you can use are
- h2
- second level headline
- h3
- third level headline (and so on to h6)
-
blockquote
- a block quotation (i.e. one that is in a block by
itself)
-
address
- Information about how to contact the author of a
document, usually his postal or email address.
-
These are all 'block
level' tags
- They mark blocks of text
- You mostly can't put block level tags inside each
other.
- All text in a document should be in one block level
tag or another
- Save your document as text.html and look at
it in your browser.