1.

What Does An Xhtml Document Look Like?

Answer»

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="l.O" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtmll/DTD/xhtmll-strict.dtd">
<html>
<head>
<title>My FIRST XHTML Document</title>
</head>
<body>
<p>Hello world!</p>
</body>
</html>

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="l.O" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtmll/DTD/xhtmll-strict.dtd">
<html>
<head>
<title>My First XHTML Document</title>
</head>
<body>
<p>Hello world!</p>
</body>
</html>



Discussion

No Comment Found