Did you know: What is Html5

HTML, the revolutionary invention in InterNet history. HTML is stands for Hyper Text Markup Language. Anyone with a career in web design can tell you this. HTML was invented by physicist Tim Berners-Lee in late 1980s. In September 1991, Lee displayed a full list of the first 20 HTML tags on the Internet for all to see. I think it is the simplest programming language ever invented. HTML is written in the form of elements consisting of tags, enclosed in angle brackets (eg. <html>). Web designers and developers can add images, text and other contents to the webpage, in between the opening and closing tags (eg. <html> …….. </html> )

What is HTML5 ?.

HTML5 is the latest version of HTML and XHTML.It attempts to solve issues found in previous iterations of HTML. Below you can read newly added HTML5 tags, atributes,etc.

HTML5 TAGS

Tags Description
<article> Defines an article
<aside> Defines content aside from the page content
<audio> Defines sound content
<canvas> Defines graphics
<command> Defines a command button
<datalist> Defines a dropdown list
<details> Defines details of an element
<embed> Defines external interactive content or plugin
<figure> Defines a group of media content, and their caption
<footer> Defines a footer for a section or page
<header> Defines a header for a section or page
<hgroup> Defines information about a section in a document
<keygen> Defines a generated key in a form
<mark> Defines marked text
<meter> Defines measurement within a predefined range
<nav> Defines navigation links
<output> Defines some types of output
<progress> Defines progress of a task of any kind
<rp> Used in ruby annotations to define what to show browsers that to not support the ruby element.
<rt> Defines explanation to ruby annotations.
<ruby> Defines ruby annotations
<section> Defines a section
<source> Defines media resources
<summary> Defines the header of a “detail” element
<time> Defines a date/time
<video> Defines a video
<wbr> Defines a possible line-break

HTML5 Global Attributes

Attributes Values Description
contenteditable true, false Specifies if the user is allowed to edit the content or not
contextmenu menu_id pecifies the context menu for an element
draggable true, false, auto Specifies whether or not a user is allowed to drag an element
dropzone copy, move, link Specifies what happens when dragged items/data is dropped in the element
hidden hidden Specifies that the element is not relevant. Hidden elements are not displayed
spellcheck true, false Specifies if the element must have its spelling and grammar checked

HTML5 Global Event Attributes

Attributes Type Values Description
onafterprint Window Script Script to be run after the document is printed
onbeforeprint Window Script Script to be run before the document is printed
onbeforeonload Window Script Script to be run before the document loads
onerror Window Script Script to be run when an error occur
onhaschange Window Script Script to be run when the document has change
onmessage Window Script Script to be run when the message is triggered
onoffline Window Script Script to be run when the document goes offline
ononline Window Script Script to be run when the document comes online
onpagehide Window Script Script to be run when the window is hidden
onpageshow Window Script Script to be run when the window becomes visible
onpopstate Window Script Script to be run when the window’s history changes
onredo Window Script Script to be run when the document performs a redo
onresize Window Script Script to be run when the window is resized
onstorage Window Script Script to be run when a document loads
onundo Window Script Script to be run when a document performs an undo
onunload Window Script Script to be run when the user leaves the document
oncontextmenu Form Script Script to be run when a context menu is triggered
onformchange Form Script Script to be run when a form changes
onforminput Form Script Script to be run when a form gets user input
oninput Form Script Script to be run when an element gets user input
oninvalide Form Script Script to be run when an element is invalid
ondrag Mouse Script Script to be run when an element is dragged
ondragend Mouse Script Script to be run at the end of a drag operation
ondragenter Mouse Script Script to be run when an element has been dragged to a valid drop target
ondragleave Mouse Script Script to be run when an element leaves a valid drop target
ondragover Mouse Script Script to be run when an element is being dragged over a valid drop target
ondragstart Mouse Script Script to be run at the start of a drag operation
ondrop Mouse Script Script to be run when dragged element is being dropped
onmousewheel Mouse Script Script to be run when the mouse wheel is being rotated
onscroll Mouse Script Script to be run when an element’s scrollbar is being scrolled

Founder Of LineshJose.Com, coder, thinker, geek, music addict also design and build awesome softwares for living.