The following HTML 5 elements have been introduced for better structure:
The idea of these new types is that the user agent can provide the user interface, such as a calendar date picker or integration with the user's address book, and submit a defined format to the server. It gives the user a better experience as his input is checked before sending it to the server meaning there is less time to wait for feedback.
Source : http://www.w3.org/
-
sectionrepresents a generic document or application section. It can be used together with theh1,h2,h3,h4,h5, andh6elements to indicate the document structure. -
articlerepresents an independent piece of content of a document, such as a blog entry or newspaper article. -
asiderepresents a piece of content that is only slightly related to the rest of the page. -
hgrouprepresents the header of a section. -
headerrepresents a group of introductory or navigational aids. -
footerrepresents a footer for a section and can contain information about the author, copyright information, et cetera. -
navrepresents a section of the document intended for navigation. -
figurerepresents a piece of self-contained flow content, typically referenced as a single unit from the main flow of the document.Example figcaptioncan be used as caption (it is optional).
-
videoandaudiofor multimedia content. Both provide an API so application authors can script their own user interface, but there is also a way to trigger a user interface provided by the user agent.sourceelements are used together with these elements if there are multiple streams available of different types. -
embedis used for plugin content. -
markrepresents represents a run of text in one document marked or highlighted for reference purposes, due to its relevance in another context. -
progressrepresents a completion of a task, such as downloading or when performing a series of expensive operations. -
meterrepresents a measurement, such as disk usage. -
timerepresents a date and/or time. -
ruby,rtandrpallow for marking up ruby annotations. -
wbrrepresents a line break opportunity. -
canvasis used for rendering dynamic bitmap graphics on the fly, such as graphs or games. -
commandrepresents a command the user can invoke. -
detailsrepresents additional information or controls which the user can obtain on demand. Thesummaryelement provides its summary, legend, or caption. -
datalisttogether with the a newlistattribute forinputcan be used to make comboboxes: -
keygenrepresents control for key pair generation. -
outputrepresents some type of output, such as from a calculation done through scripting.
input element's type attribute now has the following new values: The idea of these new types is that the user agent can provide the user interface, such as a calendar date picker or integration with the user's address book, and submit a defined format to the server. It gives the user a better experience as his input is checked before sending it to the server meaning there is less time to wait for feedback.
Source : http://www.w3.org/
No comments:
Post a Comment