• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

The Body Section

The body section of all HTML documents is defined by the <body> container element. It has an opening tag, <body>, to show where the body starts, and a closing tag, </body>, to indicate where the body ends. Inside the body is where you’ll put everything that your visitors will actually see in the browser window—text, hyperlinks, headings, images, form elements, tables, and all other XHTML markup.

The sample XHTML in Listing 4.1 shows where the body fits into the overall Web page structure. Note that it’s embedded inside the <html> and </html> opening and closing tags, which means it’s a substructure of <html> itself. Almost everything else in your document is contained in the body and thus fits inside the <body> and </body> tags.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint