home HTML XML DTD CSS Visual Filter JavaScript Java ASP SSI .NET  
HTML Reference >
Suggested Reading

Document structure


tag/attrib/value description
HEAD 2 1   1   2 x   Document header
profile = uri 4 -   -   - -   Location of meta data
BODY 2 1   1   2 x x Document body
align = [ left* | center | right ] - - - -   4 -   Default content alignment
aLink = color 3.2 4 4 1   - -   Activated anchor color
background = uriPicture 3.2 1 3 1   2 x   Background image
bgColor = color 3.2 1 3 1   2 x   Background color
bgProperties = fixed - 2   -   - -   Disable background scrolling
bottomMargin = intPixels - 4 4 -   - -   Bottom margin size
credits = uriPage - - - -   - x   Page linked to 'Credits' button
instructions = uriPage - - - -   - x   Page linked to 'Instructions' button
leftMargin = intPixels - 2   -   - -   Left margin size
link = color 3.2 1 3 1   2 x   Anchor color
logo = uriPicture - - - -   - x   Image used as page thumbnail
marginHeight = intPixels - - - 4   4 -   Top and bottom margin size
marginWidth = intPixels - - - 4   4 -   Left and right margin size
noWrap [= boolean ] - 4 4 -   - -   Set automatic line wrapping
onafterprint = script - 5.0   -   - - - Document is being printed or previewed
onbeforeprint = script - 5.0   -   - - - Document is about to be printed or previewed
onbeforeunload = script - 4   -   - - - Just before closing document or loading another
ondragdrop = script - - - 4   - - - Something has been on the document
onerror = script - 4   3   - - - An error occurs
onload = script 4 3   2   3 x - Loading of document is finished
onscroll = script - 4   -   - - - Element is scrolled
onselect = script - 4         - - Contents is being selected
onunload = script 4 3   2   3 x - Unload event
rightMargin = intPixels - 4 4 -   - -   Right margin size
scroll = [ yes* | no | auto ] - 4 4 -   - -   Display of scroll bars
text = color 3.2 1 3 1   2 x   Text color
topMargin = intPixels - 2   -   - -   Top margin size
vLink = color 3.2 1 3 1   2 x   Visited link color
!-- ... -- 2 1   1   2 x   Comment
text = string - 4 4       -   Comment contents
COMMENT - 1   -     x   Comment
text = string - 4 4       -   Comment contents
TextNode - - 4       -   Text-node in document hierarchy
data = string - - 5.0       -   Node contents
length = intCharacterCount - - 5.0       -   Node content length
TextRange - 4 -       -   Part of the document text
boundingHeight = intPixels - - 4       -   Height of bounding rectangle
boundingLeft = intPixels - - 4       -   Left offset from container object
boundingTop = intPixels - - 4       -   Top offset from container object
boundingWidth = intPixels - - 4       -   Width of bounding rectangle
htmlText = string - - 4       -   Valid HTML source
text = string - - 4       -   Contents of text range
TextRectangle - 5.0 -       -   Bounding rectangle for textrange or object
bottom = intPixels - - 5.0       -   Bottom coordinates
left = intPixels - - 5.0       -   Left coordinates
right = intPixels - - 5.0       -   Right coordinates
top = intPixels - - 5.0       -   Top coordinates