daily pastebin goal
80%
SHARE
TWEET

xhtml1

a guest Jan 22nd, 2019 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3.  
  4. <head>
  5. <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
  6. <title>XHTML 1.0 Document (2000)</title>
  7. </head>
  8.  
  9. <body>
  10. <h1>XHTML 1.0 Document</h1>
  11.  
  12. <ul>
  13.     <li>XHTML elements must be properly nested.</li>
  14.     <li>XHTML elements must always be closed. Expect empty elements, which are terminated using a forward slash.</li>
  15.     <li>XHTML elements must be in lowercase.</li>
  16.     <li>XHTML documents must have one root element</li>
  17.     <li>Attribute names must be in lower case.</li>
  18.     <li>Attribute values must be quoted.</li>
  19.     <li>Attribute minimization is forbidden.</li>
  20. </ul>
  21.  
  22. Examples 1 (wrong): (View Page Source)<br/><br/>
  23.  
  24. <br/><br/>
  25. <a href="default.html">HTML Tutorials</a>
  26.  
  27. </body>
  28.  
  29. </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. OK, I Understand
 
Top