HTML BODY Tag

Posted The: 09/05/2008 At: 9:23

Last Edited: 15/08/2008 At: 18:49

Contents:

The body tag is used to mark the body section of (x)'html Document'(s). Between goes actual content, paragraphs; sections; images. ETC.

Example:

The body begins below the head section, documents should allways have a body section.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">

  <head>
    <title>Body Example</title>
  </head>

  <body>
    <h1>Body Example</h1>
    <p>Welcome.</p>
  </body>

</html>

The body is also the second element in html Document's, and child of html; which is the root in the Document.

Comments: [0]

© Brugbart Webdesign