Introduction to HTML 5
Basicly, the video talks about five main things:
- Video: Now there is an element <video> to play movies in the same way we use <img> for images. No need to use complicated plugin stuff anymore. Also, as <svg> and <canvas>, <video> element is part of the DOM tree so we can manipulate it, draw on it, etc. Another cool thing is that you can buffer the video even if the user doesn’t click the play button!
- Storage: Yes, this is not a mistake. There are now cache and a database to save data and allow the user to work offline. The caching is performed by a cache manifest inserted in the body of the HTML 5 page. You can specify the files that must be copied to the local computer. The other very cool thing is the database. There is now another javscript object under window object to open a local database. You can save data using SQL queries and transactions.
It also talks briefly about other new and useful tags such as:
- <header> where the logo and that stuff go
- <nav> where the navigation section goes
- <article> where the main content is inserted
- <section> to divide the information in sections as a book does
- <footer> for the footer information
- <progress> to display progress bar
- <meter> to display a star raking element
Nice and helpful video. It’s worth watching it to have an idea about what HTML 5 can do for you now. Believe me, it’s awesome!