#doctype provides a lot of important information about the document. Now all you have to say is <!doctype html>. Meta tag tells what characters you need. <meta charset="utf-8"> to link a stylesheet for formatting: <link rel="stylesheet" href="lounge.css"> to link an external script: <script src="lounge.js"></script> to use inline script you can use a <script></script> element HTML5 has added many new features. One of these includes making the use of Javascript more efficient and responsive. DOM: Document Object Model. This is an important concept that represents a model of the loaded webpage. The browser loads your page and loads the JavaScript. The Javascript is usually executed after the DOM is loaded. API can be used through Javascript and are very useful tools. You can: cache local data, geolocation API, bring data from another web service, do math and computations, store cookies and preferences locally,
I learned a lot about the differences about HTML4.01 and HTML5. Many simplifications were added to make creating webpages easier. This includes simplifying the #doctype specification, stylesheet linking, and javascript linking. I also learned about the Document Object Model, which is the object Javascript operates on. Finally, I learned what Javascript is used for. It is used for enabling APIs on a webpage, creating user interaction, making a webpage more responsive, and doing computation.