SHARE
TWEET

xhtml1




Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- <!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>
- <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
- <title>XHTML 1.0 Document (2000)</title>
- </head>
- <body>
- <h1>XHTML 1.0 Document</h1>
- <ul>
- <li>XHTML elements must be properly nested.</li>
- <li>XHTML elements must always be closed. Expect empty elements, which are terminated using a forward slash.</li>
- <li>XHTML elements must be in lowercase.</li>
- <li>XHTML documents must have one root element</li>
- <li>Attribute names must be in lower case.</li>
- <li>Attribute values must be quoted.</li>
- <li>Attribute minimization is forbidden.</li>
- </ul>
- Examples 1 (wrong): (View Page Source)<br/><br/>
- <br/><br/>
- <a href="default.html">HTML Tutorials</a>
- </body>
- </html>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.