Created
December 4, 2014 18:46
-
-
Save m93a/59d4e5d4f11c88dc939a to your computer and use it in GitHub Desktop.
HTML6 default namespace - shorter and backwards compatibile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
- Very often, solution of the problem that | |
- bothers us is in fact very simple and | |
- already used in XML. | |
- ~~m93a | |
--> | |
<!-- typical html6 --> | |
<!doctype foo> | |
<html:html> | |
<html:head> | |
<html:meta charset=utf-8 /> | |
</html:head> | |
<html:body> | |
<bar>It works!</bar> | |
</html:body> | |
</html:html> | |
<!-- backwards compatibile --> | |
<!doctype html> | |
<html> | |
<head> | |
<meta charset=utf-8 /> | |
</head> | |
<body> | |
<foo:bar>It works!</foo:bar> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment