Version-//W3C//DTD XHTML 1.0 Transitional//EN
Elementbody
Purposedocument body
DescriptionThis element encloses the text flow of a document. Note that you only have one body. For example:
<body> 
  <h1>
   Hello, World!
  </h1>
  <p>
   This is a minimal "hello world" document. 
  </p>
</body>
Start tagRequired <body>
Attributes
NameTypeDefaultComment
alink CDATA #IMPLIEDcolor code as #RRGGBB in hexadecimal or 16 named colors; color of selected (active) links
background CDATA #IMPLIEDUniform Resource Identifier as per RFC2396; a Uniform Resource Locator (URL) is a URI; texture tile for document background
bgcolor CDATA #IMPLIEDcolor code as #RRGGBB in hexadecimal or 16 named colors; document background color
class CDATA #IMPLIEDspace-separated list of classes
dir( ltr | rtl )#IMPLIEDdirection for weak/neutral text
idID#IMPLIEDdocument-wide unique id
langNMTOKEN#IMPLIEDlanguage code (backwards compatible); language code as RFC3066
link CDATA #IMPLIEDcolor code as #RRGGBB in hexadecimal or 16 named colors; color of links
onclick CDATA #IMPLIEDa pointer button was clicked; script expression
ondblclick CDATA #IMPLIEDa pointer button was double clicked; script expression
onkeydown CDATA #IMPLIEDa key was pressed down; script expression
onkeypress CDATA #IMPLIEDa key was pressed and released; script expression
onkeyup CDATA #IMPLIEDa key was released; script expression
onload CDATA #IMPLIEDscript expression; the document has been loaded
onmousedown CDATA #IMPLIEDa pointer button was pressed down; script expression
onmousemove CDATA #IMPLIEDa pointer was moved within; script expression
onmouseout CDATA #IMPLIEDa pointer was moved away; script expression
onmouseover CDATA #IMPLIEDa pointer was moved onto; script expression
onmouseup CDATA #IMPLIEDa pointer button was released; script expression
onunload CDATA #IMPLIEDscript expression; the document has been removed
style CDATA #IMPLIEDassociated style info; style sheet data
text CDATA #IMPLIEDcolor code as #RRGGBB in hexadecimal or 16 named colors; document text color
title CDATA #IMPLIEDadvisory title; text used for titles
vlink CDATA #IMPLIEDcolor code as #RRGGBB in hexadecimal or 16 named colors; color of visited links
xml:langNMTOKEN#IMPLIEDlanguage code (as per XML 1.0 spec); language code as RFC3066
Content( #PCDATA | p | h1 | h2 | h3 | h4 | h5 | h6 | div | ul | ol | dl | menu | dir | pre | hr | blockquote | address | center | noframes | isindex | fieldset | table | form | a | br | span | bdo | object | applet | img | map | iframe | tt | i | b | u | s | strike | big | small | font | basefont | em | strong | dfn | code | q | samp | kbd | var | cite | abbr | acronym | sub | sup | input | select | textarea | label | button | noscript | ins | del | script )*
End tagRequired </body>
Referenced in html
Save this page to any social bookmarking site! Share · Search · Market · Directory
2015-11-01 · John December · Contact · Terms of Use © December Communications, Inc.