BODY
The BODY element contains all the content of
a document, as opposed to the HEAD,
which contains information about the document. Various
mark-up elements are allowed within the body to indicate
headings, paragraphs, lists, hypertext links, images,
and so on.
The following shows typical use of HEAD and BODY
elements:
<HEAD>
<TITLE> BODY element in HTML </TITLE>
<BASE HREF="http://www.utirc.utoronto.ca/HTML/body.html">
</HEAD>
<BODY>
[<a href="htmlindex.html">Index</a>]
[<a href="htmlindex.html">Up</a>]
[<a href="base.html">Back</a>]
[<a href="fido.html">Next</a>]
<H1> BODY Element in HTML </H1>
<p> The BODY element contains all the content of the document,
as opposed to the <a href="head.html">HEAD</a>, which
contains information about the document. Various mark-up
elements are allowed within the body to allow for
headings, paragraphs, lists, hypertext links, images,
and so on. These are described and illustrated in the
following document pages.
</BODY>
Content
- #PCDATA
- a -- Anchor; source and/or destination of a link
- address -- Address, signature, or byline for document or passage
- b -- Bold text
- blockquote -- Quoted passage
- br -- Line break
- cite -- Name or title of cited work
- code -- Source code phrase
- dir -- Directory list
- dl -- Definition list, or glossary
- em -- Emphasized phrase
- form -- Fill-out or data-entry form
- h1 -- Heading, level 1
- h2 -- Heading, level 2
- h3 -- Heading, level 3
- h4 -- Heading, level 4
- h5 -- Heading, level 5
- h6 -- Heading, level 6
- hr -- Horizontal rule
- i -- Italic text
- img -- Image; icon, glyph or illustration
- isindex -- Document is a searchable index
- kbd -- Keyboard phrase, e.g. user input
- listing -- Computer listing
- menu -- Menu list
- ol -- Ordered, or numbered list
- p -- Paragraph
- pre -- Preformatted text
- samp -- Sample text or characters
- strong -- Strong emphasis
- tt -- Typewriter text
- ul -- Unordered list
- var -- Variable phrase or substitutable
- xmp -- Example section
- Tag Minimization
-
Open Tag: OPTIONAL
Close Tag: OPTIONAL
See ATTRIBUTES
See CONTENT DECLARATION
Parent Elements
- html -- HyperText Markup Language Document
Top Element List
All Element List
Tree
HTML 2.0 DTD