A brief introduction to HTML
|
Lets do that [3] inline tags
- Sometimes you want to mark a piece of text inside a
block.
-
Here are some inline
tags you can use
- abbr
- an abbreviation
- acronym
- an acronym
- dfn
- a definition
- em
- emphasis
- q
- an inline quotation - that is, one that's in a
paragraph, not a block by itself
- samp
- sample text
- strong
- strong emphasis
- var
- a variable
-
You can put inline tags inside one another
-
But you should nest them correctly!
- Simon says <q>this is
<em>right</em></q>
- Simon says <q>this is
<em>wrong</q></em>
- The full list of all the tags you can use is here
- Save your document as text.html and look at
it in your browser.