What Does an XHTML Document Look Like?
Submitted by: AdministratorAn 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>
Submitted by: Administrator
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>
Submitted by: Administrator
Read Online XHTML Job Interview Questions And Answers
Top XHTML Questions
☺ | How To Enter Comments into XHTML Documents? |
☺ | What Is Wrong with My <br> Tags? |
☺ | What Is Wrong with My <meta> Tags? |
☺ | How To Enter Element Content? |
☺ | What Tools to Use to Write XHTML Documents? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |