HTML5 has made some simplifications to the page:
- The new doctype is simply: <!DOCTYPE HTML>. The doctype is specified to ensure that browsers render the page in standards mode; the statement is case-insensitive.
- The character set is simply declared with: <meta charset="UTF-8">. This tells the browser to use the UTF-8 character encoding, ensuring that the browser won't display characters as gibberish.
- The type attribute is no longer required on <style> and <script> tags. The default types are CSS and ECMAScript, respectively.