Doctype Template


/ Published in: HTML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. <!-- HTML Doctypes -->
  2.  
  3. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  4. "http://www.w3.org/TR/html4/strict.dtd">
  5.  
  6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  7. "http://www.w3.org/TR/html4/loose.dtd">
  8.  
  9. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
  10. "http://www.w3.org/TR/html4/frameset.dtd">
  11.  
  12. <html lang="en">
  13.  
  14. <!-- XHTML Doctypes -->
  15.  
  16. <?xml version="1.0" encoding="UTF-8"?>
  17.  
  18. <!DOCTYPE html
  19. PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  20. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  21.  
  22. <!DOCTYPE html
  23. PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  24. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  25.  
  26. <!DOCTYPE html
  27. PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
  28. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
  29.  
  30. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.