html tag
head tag
title tag
a tag
TAG: body
<body> ... </body>
The
body
tag is used to signify the start and stop of the contents of your HTML document. A well-formed XHTML document must contain properly nested and closed
html, head, title,
and
body
tags.
If you are using frames, then you use the
frameset
tag in place of the
body
tag.
The separate closing tag is mandatory.
Attributes and Events
class
dir
id
lang
onclick
ondblclick
onkeydown
onkeypress
onkeyup
onmousedown
onmousemove
onmouseout
onmouseover
onmouseup
style
title
This example demonstrates the code structure for creating an XHTML document.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="eng">
<head>
<title>DevGuru XHTML body Example</title>
</head>
<
body
>
... place document contents between the body tags
<
/body
>
</html>
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information