Category:XHTML
From ReduxWiki
Network Redux forums:
- Tutorials and Development
Contents |
[edit] What Is XHTML?
- XHTML stands for EXtensible HyperText Markup Language
- Preferred over HTML (stricter and cleaner)
- W3C Recommendation
[edit] Difference over HTML
- elements must be properly nested
- elements must always be closed
- elements must be in lowercase
- documents must have one root element
[edit] DOCTYPE
XHTML documents must have a DOCTYPE
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
[edit] index.html
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Valid (X)HTML</title>
<link rel="stylesheet" type="text/css" href="layout.css" />
</head>
<body>
<div id="container">
<p>This is my content</p>
<img src="/images/images.png" alt="alternate txt" title=my image"/>
</div>
</body>
</html>
Subcategories
There are 7 subcategories to this category.
AF |
KRV |
X |
Articles in category "XHTML"
There are 10 articles in this category.
GH |
H cont.IN |
PW |
Media in category "XHTML"
There are 15 files in this category.






