Sample Code for XHTML 1.0

From SwinBrain

Sample XHTML 1.0 Code using XML

  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Sample XHTML 1.0 Strict Document</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. </head>
  7. <body>
  8. <h1>Sample Level 1 Heading</h1>
  9. <p>Sample first paragraph</p>
  10. </body>
  11. </html>

[edit]Sample Code » C | C++ | .NET | Pascal | Perl | T-Sql | XHTML | Python | others to come