The body tag has been used almost exclusively in the Titanicals. All content is kept inside of <body> </ body>. ul, li, a, h1 … h6, p, div In a word, all the elements are inside the html and except for some of the few elements that are specified in the head.

Go to any webpage and see its source code, you can see it inside the element body. To view a source with Mozilla Firefox, right click on the webpage and click on “View Page Source” then you will see the full HTML of the page.

Leftmargin, topmargin, text, background, bgcolor There were several such attributes for body elements, but now it is Deprecated in the HTML 5 (Deprecated means HTML organization is not supported for this and will soon be removed from HTML, but will be removed until the browser support For backward compitability).

Another technical word is Obsolete. This means that completely removed. When something is obsolete from W3C specification, it is deprecated (HTML organization)

However, global attributes can be used in body elements. In fact, all HTML elements can be used in the Global attribute. Such as

dir: For specifying the elements of the document’s elements. It gives 3 values

1. The tector will appear as shown in our site or if the ltr is showing our site.

2. Writing on RTL will appear from right to left as seen on Arabic, Hebrew Language sites

<body dir = "rtl">

3. Auto will try to take out the browser itself and show it in any direction. You can use this language if you do not know if it is a site that does not know to be right or left to right. id, class, style, lang etc.

<!DOCTYPE html>
<title>HTML body element tutorial</title>

<body lang="en" id="main_container", style="background:#ddd;">
<h1>demo heading</h1>
<p>demo content goes here.</p>

There are also HTML 5 new attachments that they can offer. dropzone, draggable, spellcheck etc. These will be discussed later with more examples + work.