What does an xhtml document look like?
Answer / Osh Gupta
An XHTML document starts with a doctype declaration, followed by XML declarations and then HTML tags such as <html>, <head>, and <body>. Unlike HTML, XHTML documents should be well-formed (all elements must be properly nested) and use only lowercase letters for tag names. For example:
nn<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
n<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>My XHTML Document</title>
</head>
<body>
<h1>Welcome to my XHTML page!</h1>
</body>
</html>
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between html and html5?
Explain image map?
What is meta mean in lol?
What is the concept of Application Cache in HTML5? What are its advantages?
Explain Canvas?
how do we create a worker thread in JavaScript?
What is xhtml modularization? Why xhtml modularization?
What is difference between html5 and html4?
What is title tag in html?
What is a nav tag?
What is the role of html?
What is the difference between html & html5?