 The HTML <body> element represents
the content of an HTML document.
 There can be only
one <body> element in a document.
 The <body> element contains all the
contents of an HTML document, such
as headings, paragraphs, images,
hyperlinks, tables, lists, etc.
It is composed from the following
elements:
 Headings (H1 to H6)
 Block elements: paragraphs, lists,
forms, tables etc.
 Horizontal rules
 Text, images and hypertext links
1. ALINK
2. BACKGROUND
3. BGCOLOR
4. TEXT
5. VLINK
6. LINK
1. alink: Color of text for hyperlinks
when selected.
2. background: URI of a image to use as
a background.
3. bgcolor: Background color for the
document.
4. text: Foreground color of text.
5. vlink: Color of text for visited
hypertext links.
6. link: Color of text for unvisited
hypertext links.
<body> tag supported by the following
browsers:
 Chrome
 Android
 Firefox
 Internet Explorer (IE)
 Opera
 Safari etc.
HTML Body Element
HTML Body Element
HTML Body Element

HTML Body Element

  • 2.
     The HTML<body> element represents the content of an HTML document.  There can be only one <body> element in a document.  The <body> element contains all the contents of an HTML document, such as headings, paragraphs, images, hyperlinks, tables, lists, etc.
  • 3.
    It is composedfrom the following elements:  Headings (H1 to H6)  Block elements: paragraphs, lists, forms, tables etc.  Horizontal rules  Text, images and hypertext links
  • 4.
    1. ALINK 2. BACKGROUND 3.BGCOLOR 4. TEXT 5. VLINK 6. LINK
  • 5.
    1. alink: Colorof text for hyperlinks when selected. 2. background: URI of a image to use as a background. 3. bgcolor: Background color for the document.
  • 6.
    4. text: Foregroundcolor of text. 5. vlink: Color of text for visited hypertext links. 6. link: Color of text for unvisited hypertext links.
  • 7.
    <body> tag supportedby the following browsers:  Chrome  Android  Firefox  Internet Explorer (IE)  Opera  Safari etc.