HTML DocType
Instead of including a long link to a DTD in each of your HTML documents, you can simple replace it with:
<!DOCTYPE html>
Character Set
You can define a character set much more simply.
<meta charset="utf-8"/>
No More Type Attributes
You are no longer required to add type attributes to the <style> or <script> tags. For example:
<script>
// your code here
</script>
or
<style>
p{ margin:0; }
</style>
I plan to test this a bit myself, but according to the author, Google is already using the DocType setting.
No comments:
Post a Comment