Topics to be covered
- What is HTML5
- Semantic Markup
- Forms
- Audio & Video
- Data Storage
- What is CSS
- Inheritance & Cascading
- Style Sheets
- Page Layout & Nav bars
- Web Matrix & Demo
What is HTML 5?
HTML5 is the 5th version of HTML. Now wonder what is HTML!! *thinkzoo HYPER TEXT MARKUP LANGUAGE. Caps means I am shouting, but it is a shout that needs to be done. Let’s understand each word of it. Hyper as we all know means to get exaggerated or tempered on something. Here it also has a similar meaning, when taken together with Hyper Text. This means it gives a simple text a hyper meaning. For instance, a simple text video written changes to an Iframe where a video is played when rendered on a browser. HTML is used to create web pages in web applications. WebPages!! In a simple way, a page that gets rendered on web is called web page. Let get some brief on the history also. :( . Though the sad part but let’s get into it a bit.
*timeline
The above image says it all. But I would like to brief something interesting here. HTML4 was to be suppressed by XHTML but W3C(World Wide Web Consortium) never got heavily biased by XHTML. HTML5 was being secretly developed by WHATG group. HTML5 is a combination of number of technologies and techniques and approaches to web. Thus the HTML5 was so convincing that it was approved by the W3C recently.
Semantic Markup
First let’s know what is semantic! Semantic in dictionary means it is related to meaning in language and logic. That means what logic/idea you get you derive text out of it and HTML5 gives you the desired output. Like for instance, you think of a logic where you want user to show the amount of download/upload done or progressed. So here we derive the word progress, and HTML5 gives the tag element that gives a GUI letting user know the progress done in the process. Thus, Semantic Markup means that mark up language does not only have syntax/syntactical meaning but also has a semantic meaning.
Doctype html simplified
Has been simplified prior to the previously used has been replaced. Just for information, the syntax is case-insensitive.
*formHtml
The image shows, the html starts with the doctype that lets the web browser know that the document being loaded is of type "html".
Then is the html lang="en" that states that the html doc is written in English language.
Forms in HTML
HTML Forms are required when you want to collect some data from the site visitor. For example during user registration you would like to collect information such as name, email address, credit card, etc. A form takes the input from the user and stores them in the server. Different attributes are:
- Action: Backend/Server side code for storing the records.
- Method: GET/POST, suggests whether to post data/input or get the data input into the form elements.
- Target: Specify the window/frame where the end result script will be shown, _blank,_self,_parent.
We will see the example in the demo codes.
Audio & Video
*audiovideo
In HTML5, there is no need any more to use the iframes and load the videos/audios. The HTML5 audio and video tags make simple to add media files to website. We just need to set src attribute to let the frame know which video or audio to play, and also set the other attribute like loop which plays the media file continuously, auto play lets the media file play when the page loads, controls let the controls icons to view on the frame and height width.
Data Storage
This is a very new concept that has been introduced in HTML5 that helps store data in case there is slow connection. Thus this introduces a balance between server side and the client side processing. This is an extension to cookies. There are two types of data storage schemes,

Join the conversation! Your thoughts help the community grow.