News:

GinGly.com - Used by 85,000 Members - SMS Backed up 7,35,000 - Contacts Stored  28,850 !!

Main Menu

Features of HTML5

Started by surya3, Oct 19, 2016, 05:39 PM

Previous topic - Next topic

surya3

  • New Semantic Elements: These are like <header>, <footer>, and <section>.
  • Forms 2.0: Improvements to HTML web forms where new attributes have been introduced for <input> tag.
  • Persistent Local Storage: To achieve without resorting to third-party plugins.
  • WebSocket: A a next-generation bidirectional communication technology for web applications.
  • Server-Sent Events: HTML5 introduces events which flow from web server to the web browsers and they are called Server-Sent Events (SSE).
  • Canvas: This supports a two-dimensional drawing surface that you can program with JavaScript.
  • Audio & Video: You can embed audio or video on your web pages without resorting to third-party plugins.
  • Geolocation: Now visitors can choose to share their physical location with your web application.
  • Microdata: This lets you create your own vocabularies beyond HTML5 and extend your web pages with custom semantics.
  • Drag and drop: Drag and drop the items from one location to another location on a the same webpage.

surya3

  • The lang (or sometimes the xml:lang ) attribute specifies the natural language of the content of a web page.
  • An attribute on the html tag sets the language for all the text on the page.
  • If part of the page uses text in a different language, you can add a language attribute with a different value to the element that surrounds that content
Declaration:

<html lang="fr" xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">