Home >> FAQs/Tutorials >> XHTML Tutorials and Tips >> Index
XHTML Tutorial - XHTML Documents
(Continued from previous topic...)
What Does an XHTML Document Look Like?
An XHTML document is a normal text file with predefined tags mixed with the text contents
of the document. Tags are enclosed in pairs of angle brackets: "<" and ">".
Below is how a simple XHTML document will look like if you open it in a text editor:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>My First XHTML Document</title>
</head>
<body>
<p>Hello world!</p>
</body>
</html>
(Continued on next topic...)
- What Is XHTML?
- What Does an XHTML Document Look Like?
- What Is the Relation between XHTML and HTML?
- What Is the Relation between XHTML and XML?
- What Is the Relation between XHTML and the Web?
- What Is the Relation between XHTML and HTTP?
- What Is the Relation between XHTML and URL?
- What Is URI?
- What Is the Relation between XHTML and SGML?
- What Is the Relation between XHTML and CSS?
- What Is the Relation between XHTML and DTD?
- Who Developed XHTML?
- What Is the Latest XHTML Specification?
- How Many Tags Are Defined in XHTML 1.0?
- How To Validate XHTML Documents Online?
- What Tools to Use to Write XHTML Documents?
- What Tools to Use to View XHTML Documents?
|