Skip to content

Instantly share code, notes, and snippets.

@devinrhode2
Created July 11, 2012 00:50
Show Gist options
  • Save devinrhode2/3087198 to your computer and use it in GitHub Desktop.
Save devinrhode2/3087198 to your computer and use it in GitHub Desktop.
Reminder to try XHTML 1.1 Strict sometime
//XHTML 1.0 Strict DTD. No deprecated tags are supported and the code must be written correctly.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
//XHTML 1.1 - may or may not need xml tag at start...
<!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment