DEVFYI - Developer Resource - FYI

How to build a "Hello World" page. With XHTML ?

XHTML Interview Questions and Answers


(Continued from previous question...)

7. How to build a "Hello World" page. With XHTML ?

"Hello World" Web page code looks like this:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="en" lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Hello World</title>
</head>
<body>
<p>My first Web page.</p>
</body>
</html>
</p>

(Continued on next question...)

Other Interview Questions