basic elements


Internet Explorer Firefox Opera

The HTML, HEAD, and BODY are the basic elements of an HTML document.

<head>This content is not displayed</head>
<body>This content is displayed</body>

Structural image

HTML element <html> - </html>

The HTML element is the root element. This element tells the browser that the document is HTML.

HEAD element <head> - </head>

The HEAD element encloses information about the document. (TITLE, META, etc)

BODY element <body> - </body>

The BODY element defines the document body. The contents of this element are displayed by the browser.


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "">

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Document Title</title>


<p>The content of body is displayed.</p>
<p><a href="html.html">Return</a></p>