HTML5 is nothing more then upgraded version of HTML where in HTML5 Lot of new future like Video, Audio/mp3, date select function , placeholder , Canvas, 2D/3D Graphics, Local SQL Database added so that no need to do external plugin like Flash player or other library
The is an instruction to the web browser about what version of HTML the page is written in. AND The tag does not have an end tag and It is not case sensitive. The declaration must be the very first thing in HTML5 document, before the tag. As In HTML 4.01, all declarations require a reference to a Document Type Definition (DTD), because HTML 4.01 was based on Standard Generalized Markup Language (SGML). WHERE AS HTML5 is not based on SGML, and therefore does not require a reference to a Document Type Definition (DTD).
Below are the New Markup Elements added in HTML5 Tag Description
Below are the New Media Elements have added in HTML5 Tag Description
we can use below new input type Attribute in HTML5 Type Value tel The input is of type telephone number search The input field is a search field url a URL email One or more email addresses datetime A date and/or time date A date month A month week A week time The input value is of type time datetime-local A local date/time number A number range A number in a given range color A hexadecimal color, like #82345c placeholder Specifies a short hint that describes the expected value of an input field
Before HTML5 LocalStores was done with cookies. Cookies are not very good for large amounts of data, because they are passed on by every request to the server, so it was very slow and in-effective. In HTML5, the data is NOT passed on by every server request, but used ONLY when asked for. It is possible to store large amounts of data without affecting the website�s performance.and The data is stored in different areas for different websites, and a website can only access data stored by itself. And for creating localstores just need to call localStorage object like below we are storing name and address 1. 5.
The sessionStorage object stores the data for one session. The data is deleted when the user closes the browser window. like below we can create and access a sessionStorage here we created �name� as session 1.
include() The include() function takes all the content in a specified file and includes it in the current file. If an error occurs, the include() function generates a warning, but the script will continue execution. include_once() File will not be included more than once. If we want to include a file once only and further calling of the file will be ignored then we have to use the PHP function include_once(). require() The require() function is identical to include(), except that it handles errors differently. The require() generates a fatal error, and the script will stop. require_once() The required file is called only once when a page is open and further calling of the file will be ignored.
HTML5 is being developed as the next major revision of HTML (HyperText Markup Language), the core markup language of the World Wide Web. The Web Hypertext Application Technology Working Group (WHATWG) started work on the specification in June 2004 under the name Web Applications 1.0. As of March 2010[update], the specification is in the Draft Standard state at the WHATWG, and in Working Draft state at the W3C.
Thetag is used to group heading elements. The element is used to group a set of