Version | -//W3C//DTD XHTML 1.0 Transitional//EN | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Element | pre | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Purpose | preformatted text | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Description | This element brackets text which should be rendered exactly as it appears, that is without "eating up" the white space. This is used, for example, to enclose program code or tables where the indentation is important. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Start tag | Required <pre> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Attributes |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Content | ( #PCDATA | a | br | span | bdo | tt | i | b | u | s | strike | em | strong | dfn | code | q | samp | kbd | var | cite | abbr | acronym | input | select | textarea | label | button | ins | del | script )* | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
End tag | Required </pre> | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Referenced in | applet blockquote body button center dd del div fieldset form iframe ins li map noframes noscript object td th | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Example |
|