New Elements
- Article: shows an independent entry of a blog or a magazine.
- Aside: shows a note, a tip, a sidebar, a parenthetical mark, or the content other than the main content
- Audio: allows you to embed audio files in a web page.
- BDI: allows you specify non left to right direction for a span of text.
- Canvas: provides a canvas on a web page to draw graphics on it.
- Command: stores a command to perform a task.
- Datalist: shows a drop down list.
- Details: shows the details of a item besides its default information.
- Embed: defines external interactive content or plug-in.
- FigCaption: shows the caption of the figure element.
- Figure: shows a group of media element., video and audio, along with a caption.
- Footer: shows the footer of the section or page.
- Header: shows the header of the section or page.
- HGroup: Represents a group of headings in a document.
- Keygen: Specifies an element that generates a pair of key( private and public) for forms, where the private key is stored locally with the submission of a form and the public key is sent to the server.
- Mark: shows highlighted text.
- Menu: shows a menu bar on the web page.
- Meter: displays the measurement of a number in a predefined range.
- Nav: shows a collection of links related to other web pages.
- Output: specifies an element that is used to display output.
- Progress: shows the progress of an ongoing process.
- RP: dictates the browser to show the content when they do not support the ruby element.
- RT: shows the details of ruby annotation.
- Section: shows a section or a part of a page.
- Source: represents a media resource.
- Summary: shows the summary of a details element.
- Time: shows a date and time in a web page.
- Video: allows you to embed videos in a web page.
- WBR: defines a possible line break that can be inserted in a text.
New Attributes
- accesskey: represents a keyboard shortcut to access an element.
- contenteditable: specifies whether or not a user is allowed to edit the content.
- contextmenu: represents the context menu for element.
- data-yourvalue: represents user defined attributes that must start with the data-text.
- draggable: specifies whether or not a user is able to drag an element.
- dropzone: specifies the drop target for a dragged element.
- hidden: hides a non relevent element.
- spellcheck: specifies whether or not the spelling or grammar checking feature is enabled for an element.
Form Element New Attributes
- Autocomplete: specifies that the form text field can provide a list of options to automatically fill the field.
<form action="new.asp" method="get" autocomplete="on">
</form>
2. novalidate: specifies that form will not be validated when submitted.
<form action="new_form.asp" novalidate="novalidate">
</ form>
Input Element New Attributes
- autocomplete: specifies that an input field automatically fills the content.
- autofocus: input field automatically gets focus.
- form: specifies input field belongs to one or more form.
- formaction: specifies an attribute the overrides form action attribute.
- formenctype: specifies an attribute that overrides the form enctype attribute.
- formmethod: specifies an attribute that overrides the form method attribute.
- formnovalidate: specifies an attribute that overrides the form novalidate attribute.
- formtarget: specifies an attribute that overrides the form target attribute.
- height: specifies height of an image used as an input
- width: specifies width of an image used as an input.
- list: specifies data list for an input field.
- min: specifies minimum value that is allowed in the input field.
- max: specifies maximum value that is allowed in the input field.
- step: specifies an increment number for the input field that takes a range of numbers.
- multiple: specifies that multiple values can be selected for an input field.
- pattern: specifies a pattern used to validate an input field.
- placeholder: specifies a default text in the input field until focus the field for entering your text.
- required: specifies that an input field must be filled with data before submitting the form containing it.
Type Attributes New Values
- datetime: displays date and time on the basis of ISO 8601 with the time zone set to the UTC.
- datetime-local: displays date and time on the basis of ISO 8601 without the time zone information.
- date: displays the date on the basis of ISO 8601.
- month: displays date, consisting of year and month, on the basis of ISO 8601.
- week: displays date, consisting of a year and the number of the current week of the year, on the basis of ISO 8601.
- time: displays time on the basis of ISO 8601.
- number: allows a field to accept only numeric values and takes 1 as default number.
- range: allows a field to accept a value from a range of numbers.
- email: allows a field to accept only an email format value.
- url: allows a field that accept only the url format value.
0 comments:
Post a Comment