Javascript Tutorial Part 27

myitcareer.org-Your IT Career Partner For Life. Please Bookmark It.
Homework Help | Buy Book | Buy Phone | Top Web Hosts | Hire Web Designer
Home | Interview Questions And Answers | Plan Wedding | Online Tuition
Top Domain Registrars | Hire Freelancer | Hosting Charges | Hindi News

<html>
<head> ... </head>
<body> ... </body>
</html> You can read more about the XML syntax in our XML School. XHTML documents have some mandatory elements All XHTML documents must have a DOCTYPE declaration. The html, head and body elements must be
present, and the title must be present in the head element. This is a minimum XHTML document template:: <!DOCTYPE html>
<html>
<head>
<title>This is a Title</title>
</head>
<body>
.
Body text goes here
.
</body>
</html> An XHTML document consists of three main parts: · the DOCTYPE · the Head · the Body The basic document structure is: <!DOCTYPE ...>
<html ... >
<head> ... </head>
<body> ... </body>
</html> This is a simple XHTML document: <!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/strict.dtd">
<html>
<head>
<title>simple document</title>
</head>
<body>
<p>a simple paragraph</p>
</body>
</html>
Previous| Next