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 Write the Opening Tag of an XHTML Element? |
☺ | What Is the Relation between XHTML and HTML? |
☺ | What Is an XHTML Element Attribute? |
☺ | What Is URI? |
☺ | What Is XHTML? |
Top Coding/Programming Categories
☺ | Python Interview Questions. |
☺ | OOP Interview Questions. |
☺ | Software engineering Interview Questions. |
☺ | PHP Interview Questions. |
☺ | VBA (Visual Basic for Applications) Interview Questions. |