add lisp packages
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
charset [Obsolete since HTML5]
|
||||
|
||||
This attribute defines the character encoding of the linked resource. The value is a space- and/or comma-delimited list of character sets as defined in RFC 2045. The default value is ISO-8859-1.
|
||||
|
||||
Usage note:
|
||||
|
||||
This attribute is obsolete in HTML5 and should not be used by authors. To achieve its effect, use the HTTP Content-Type header on the linked resource.
|
||||
@@ -0,0 +1,10 @@
|
||||
download [HTML5]
|
||||
|
||||
This attribute, if present, indicates that the author intends the hyperlink to be used for downloading a resource so that when the user clicks on the link they will be prompted to save it as a local file. If the attribute has a value, the value will be used as the pre-filled file name in the Save prompt that opens when the user clicks on the link (the user can change the name before actually saving the file of course). There are no restrictions on allowed values (though / and \ will be converted to underscores, preventing specific path hints), but you should consider that most file systems have limitations with regard to what punctuation is supported in file names, and browsers are likely to adjust file names accordingly.
|
||||
|
||||
Note:
|
||||
|
||||
Can be used with blob: URLs and data: URLs, to make it easy for users to download content that is generated programmatically using JavaScript (e.g. a picture created using an online drawing Web app).
|
||||
If the HTTP header Content-Disposition: is present and gives a different filename than this attribute, the HTTP header has priority over this attribute.
|
||||
If this attribute is present and Content-Disposition: is set to inline, Firefox gives priority to Content-Disposition, like for the filename case, while Chrome gives priority to the download attribute.
|
||||
In Firefox 20 this attribute is only honored for links to resources with the same-origin.
|
||||
@@ -0,0 +1,5 @@
|
||||
This was the single required attribute for anchors defining a hypertext source link, but is no longer required in HTML5. Omitting this attribute creates a placeholder link. The href attribute indicates the link target, either a URL or a URL fragment. A URL fragment is a name preceded by a hash mark (#), which specifies an internal target location (an ID) within the current document. URLs are not restricted to Web (HTTP)-based documents. URLs might use any protocol supported by the browser. For example, file, ftp, and mailto work in most user agents.
|
||||
|
||||
Note:
|
||||
|
||||
You can use the special fragment "top" to create a link back to the top of the page; for example <a href="#top">Return to top</a>. This behavior is specified by HTML5.
|
||||
@@ -0,0 +1,8 @@
|
||||
media [html5]
|
||||
|
||||
This attribute specifies the media which the linked resource applies to. Its value must be a media query. This attribute is mainly useful when linking to external stylesheets by allowing the user agent to pick the best adapted one for the device it runs on.
|
||||
|
||||
Usage note:
|
||||
|
||||
In HTML 4, only simple white-space-separated list of media description literals, i.e. media types and groups, where defined and allowed as values for this attribute, like print, screen, aural, braille, ... HTML 5 extended this to any kind of media queries, which are a superset of the allowed values of HTML 4.
|
||||
Browsers not supporting the CSS3 Media Queries won't necessarily recognize the adequate link; do not forget to set fallback links, the restricted set of media queries defined in HTML 4.
|
||||
@@ -0,0 +1,3 @@
|
||||
methods [!]
|
||||
|
||||
The value of this attribute provides information about the functions that might be performed on an object. The values generally are given by the HTTP protocol when it is used, but it might (for similar reasons as for the title attribute) be useful to include advisory information in advance in the link. For example, the browser might choose a different rendering of a link as a function of the methods specified; something that is searchable might get a different icon, or an outside link might render with an indication of leaving the current site. This attribute is not well understood nor supported, even by the defining browser, Internet Explorer 4. Methods Property (MSDN)
|
||||
@@ -0,0 +1,7 @@
|
||||
name [HTML4 only] [Obsolete since HTML5]
|
||||
|
||||
This attribute is required in an anchor defining a target location within a page. A value for name is similar to a value for the id core attribute and should be an alphanumeric identifier unique to the document. Under the HTML 4.01 specification, id and name both can be used with the <a> element as long as they have identical values.
|
||||
|
||||
Usage note:
|
||||
|
||||
This attribute is obsolete in HTML5, use global attribute id instead.
|
||||
@@ -0,0 +1,3 @@
|
||||
rel
|
||||
|
||||
For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object. The value is a comma-separated list of link types values. The values and their semantics will be registered by some authority that might have meaning to the document author. The default relationship, if no other is given, is void. Use this attribute only if the href attribute is present.
|
||||
@@ -0,0 +1,6 @@
|
||||
shape [HTML4 only] [Obsolete since HTML5]
|
||||
|
||||
This attribute is used to define a selectable region for hypertext source links associated with a figure to create an image map. The values for the attribute are circle, default, polygon, and rect. The format of the coords attribute depends on the value of shape. For circle, the value is x,y,r where x and y are the pixel coordinates for the center of the circle and r is the radius value in pixels. For rect, the coords attribute should be x,y,w,h. The x,y values define the upper-left-hand corner of the rectangle, while w and h define the width and height respectively. A value of polygon for shape requires x1,y1,x2,y2,... values for coords. Each of the x,y pairs defines a point in the polygon, with successive points being joined by straight lines and the last point joined to the first. The value default for shape requires that the entire enclosed area, typically an image, be used.
|
||||
|
||||
Note:
|
||||
It is advisable to use the usemap attribute for the <img> element and the associated <map> element to define hotspots instead of the shape attribute.
|
||||
@@ -0,0 +1,9 @@
|
||||
target
|
||||
|
||||
This attribute specifies where to display the linked resource. In HTML4, this is the name of, or a keyword for, a frame. In HTML5, it is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings:
|
||||
_self: Load the response into the same HTML4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.
|
||||
_blank: Load the response into a new unnamed HTML4 window or HTML5 browsing context.
|
||||
_parent: Load the response into the HTML4 frameset parent of the current frame or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as _self.
|
||||
_top: In HTML4: Load the response into the full, original window, canceling all other frames. In HTML5: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self.
|
||||
|
||||
Use this attribute only if the href attribute is present.
|
||||
@@ -0,0 +1,3 @@
|
||||
type
|
||||
|
||||
This attribute specifies the media type in the form of a MIME type for the link target. Generally, this is provided strictly as advisory information; however, in the future a browser might add a small icon for multimedia types. For example, a browser might add a small speaker icon when type is set to audio/wav. For a complete list of recognized MIME types, see http://www.w3.org/TR/html4/references.html#ref-MIMETYPES. Use this attribute only if the href attribute is present.
|
||||
@@ -0,0 +1,3 @@
|
||||
urn [!]
|
||||
|
||||
This supposedly Microsoft-supported attribute relates a uniform resource name (URN) with the link. While it is based on standards work years back, the meaning of URNs is still not well defined, so this attribute is meaningless. urn Property (MSDN)
|
||||
@@ -0,0 +1,28 @@
|
||||
title
|
||||
|
||||
Use the title attribute to define the full description of the abbreviation. Many user agents present this as a tooltip.
|
||||
|
||||
[global attribute]
|
||||
|
||||
Text to be displayed in a tooltip when hovering over the element.
|
||||
|
||||
This attribute contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip. Here are some typical uses of this attribute:
|
||||
|
||||
Link: the title or a description of the linked document
|
||||
Media element like an image: a description or associated credits
|
||||
Paragraph: a footnote or a commentary about it
|
||||
Quotation: some information about the author, and so on.
|
||||
|
||||
If this attribute is omitted, it means that the title of the nearest ancestor of this element is still relevant for it (and can legitimately be used as the tooltip for that element. If this attribute is set to the empty string, it explicitly means that its nearest ancestor's title is not relevant for this element (and shouldn't be used in the tooltip for that element).
|
||||
|
||||
Additional semantics are attached to the title attributes of the <link>, <abbr>, <input> and <menuitem> elements.
|
||||
|
||||
Usage note:
|
||||
The title attribute may contains several lines. Each U+000A LINE FEED (LF) inserted represents such a newline. Some caution must be taken though, as that means that:
|
||||
|
||||
<p>Newlines in title should be taken into account,like this <abbr title="This is a
|
||||
multiline title">example</abbr>.</p>
|
||||
|
||||
defines a two-line title.
|
||||
|
||||
Support for multi-line titles was added to Gecko in Gecko 12.0 (Firefox 12.0 / Thunderbird 12.0 / SeaMonkey 2.9).
|
||||
@@ -0,0 +1,3 @@
|
||||
alt
|
||||
|
||||
A text string alternative to display on browsers that do not display images. The text should be phrased so that it presents the user with the same kind of choice as the image would offer when displayed without the alternative text. In HTML4, this attribute is required, but may be the empty string (""). In HTML5, this attribute is required only if the href attribute is used.
|
||||
@@ -0,0 +1,3 @@
|
||||
coords
|
||||
|
||||
A set of values specifying the coordinates of the hot-spot region. The number and meaning of the values depend upon the value specified for the shape attribute. For a rect or rectangle shape, the coords value is two x,y pairs: left, top, right, and bottom. For a circle shape, the value is x,y,r where x,y is a pair specifying the center of the circle and r is a value for the radius. For a poly or polygon< shape, the value is a set of x,y pairs for each point in the polygon: x1,y1,x2,y2,x3,y3, and so on. In HTML4, the values are numbers of pixels or percentages, if a percent sign (%) is appended; in HTML5, the values are numbers of CSS pixels.
|
||||
@@ -0,0 +1,3 @@
|
||||
href
|
||||
|
||||
The hyperlink target for the area. Its value is a valid URL. In HTML4, either this attribute or the nohref attribute must be present in the element. In HTML5, this attribute may be omitted; if so, the area element does not represent a hyperlink.
|
||||
@@ -0,0 +1,6 @@
|
||||
nohref [HTML4 only] [Obsolete since Gecko 5.0]
|
||||
|
||||
Indicates that no hyperlink exists for the associated area. Either this attribute or the href attribute must be present in the element.
|
||||
|
||||
Usage note:
|
||||
This attribute is obsolete in HTML5, instead omitting the href attribute is sufficient.
|
||||
@@ -0,0 +1,3 @@
|
||||
rel [HTML5]
|
||||
|
||||
For anchors containing the href attribute, this attribute specifies the relationship of the target object to the link object. The value is a comma-separated list of link types values. The values and their semantics will be registered by some authority that might have meaning to the document author. The default relationship, if no other is given, is void. Use this attribute only if the href attribute is present.
|
||||
@@ -0,0 +1,3 @@
|
||||
shape
|
||||
|
||||
The shape of the associated hot spot. The specifications for HTML 5 and HTML 4 define the values rect, which defines a rectangular region; circle, which defines a circular region; poly, which defines a polygon; and default, which indicates the entire region beyond any defined shapes. Many browsers, notably Internet Explorer 4 and higher, support circ, polygon, and rectangle as valid values for shape; these values are [!].
|
||||
@@ -0,0 +1,9 @@
|
||||
target
|
||||
|
||||
This attribute specifies where to display the linked resource. In HTML4, this is the name of, or a keyword for, a frame. In HTML5, it is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings:
|
||||
_self: Load the response into the same HTML4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.
|
||||
_blank: Load the response into a new unnamed HTML4 window or HTML5 browsing context.
|
||||
_parent: Load the response into the HMTL4 frameset parent of the current frame or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as _self.
|
||||
_top: In HTML4: Load the response into the full, original window, canceling all other frames. In HTML5: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self.
|
||||
|
||||
Use this attribute only if the href attribute is present.
|
||||
@@ -0,0 +1,3 @@
|
||||
type
|
||||
|
||||
This attribute specifies the media type in the form of a MIME type for the link target. Generally, this is provided strictly as advisory information; however, in the future a browser might add a small icon for multimedia types. For example, a browser might add a small speaker icon when type is set to audio/wav. For a complete list of recognized MIME types, see http://www.w3.org/TR/html4/references.html#ref-MIMETYPES. Use this attribute only if the href attribute is present.
|
||||
@@ -0,0 +1,3 @@
|
||||
autobuffer [Obsolete since Gecko 2.0]
|
||||
|
||||
A Boolean attribute; if specified, the audio will automatically begin being downloaded, even if not set to automatically play. This continues until the media cache is full, or the entire audio file has been downloaded, whichever comes first. This should only be used when it is expected that the user will choose to play the audio; for example, if the user has navigated to a page using a "Play this audio" link. This attribute was removed in Gecko 2.0 (Firefox 4 / Thunderbird 3.3 / SeaMonkey 2.1) in favor of the preload attribute.
|
||||
@@ -0,0 +1,14 @@
|
||||
preload
|
||||
|
||||
This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. It may have one of the following values:
|
||||
none: hints that either the author thinks that the user won't need to consult that audio or that the server wants to minimize its traffic; in others terms this hint indicates that the audio should not be cached;
|
||||
metadata: hints that though the author thinks that the user won't need to consult that audio, fetching the metadata (e.g. length) is reasonable;
|
||||
auto: hints that the user needs have priority; in others terms this hint indicated that, if needed, the whole audio could be downloaded, even if the user is not expected to use it;
|
||||
the empty string: which is a synonym of the auto value.
|
||||
|
||||
If not set, its default value is browser-defined (i.e. each browser can choose its own default value), though the spec advises it to be set to metadata.
|
||||
|
||||
Usage notes:
|
||||
|
||||
The autoplay attribute has precedence over this one as if one wants to automatically play a audio, the browser will obviously need to download it. Setting both the autoplay and the preload attributes is allowed by the specification.
|
||||
The browser is not forced by the specification to follow the value of this attribute; it is a mere hint.
|
||||
@@ -0,0 +1,4 @@
|
||||
href
|
||||
|
||||
The base URL to be used throughout the document for relative URL addresses. If this attribute is specified, this element must come before any other elements with attributes whose values are URLs.
|
||||
Absolute and relative URIs are allowed (but see note section below).
|
||||
@@ -0,0 +1,7 @@
|
||||
target
|
||||
|
||||
A name or keyword indicating the default location to display the result when hyperlinks or forms cause navigation, for elements that do not have an explicit target reference. In HTML4, this is the name of, or a keyword for, a frame. In HTML5, it is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings:
|
||||
_self: Load the result into the same HTML4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.
|
||||
_blank: Load the result into a new unnamed HTML4 window or HTML5 browsing context.
|
||||
_parent: Load the result into the HTML4 frameset parent of the current frame or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as _self.
|
||||
_top: In HTML4: Load the result into the full, original window, canceling all other frames. In HTML5: Load the result into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self.
|
||||
@@ -0,0 +1,20 @@
|
||||
dir
|
||||
|
||||
Like all other HTML elements, this element has the global attributes, with a slight semantic difference: the dir attribute is not inherited. If not set, its default value is the auto which let the browser decide the direction based on the element's content.
|
||||
|
||||
[global attribute]
|
||||
|
||||
Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
||||
|
||||
This enumerated attribute indicates the directionality of the element's text. It can have the following values:
|
||||
|
||||
ltr, which means left to right and is to be used for languages that are written from the left to the right (like English);
|
||||
rtl, which means right to left and is to be used for languages that are written from the right to the left (like Arabic);
|
||||
auto, which let the user agent decides. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then apply that directionality to the whole element.
|
||||
|
||||
Usage notes:
|
||||
This attribute is mandatory for the <bdo> element where it has a different semantic meaning.
|
||||
This attribute is not inherited by the <bdi> element. If not set, its value is auto.
|
||||
This attribute can be overridden by the CSS properties direction and unicode-bidi, if a CSS page is active and the element supports these properties.
|
||||
As the directionality of the text is semantically related to its content and not to its presentation, it is recommended that web developers use this attribute instead of the related CSS properties when possible. That way, the text will display correctly even on a browser that doesn't support CSS or has the CSS deactivated.
|
||||
The auto value should be used for data with an unknown directionality, like data coming from user input, eventually stored in a database.
|
||||
@@ -0,0 +1,6 @@
|
||||
dir
|
||||
|
||||
Text direction in this element. Possible values are:
|
||||
ltr: Indicates that the text should go in a left-to-right direction.
|
||||
rtl: Indicates that the text should go in a right-to-left direction.
|
||||
auto: The browser decides which direction based on the element's content.
|
||||
@@ -0,0 +1,3 @@
|
||||
autocomplete [!]
|
||||
|
||||
The use of this attribute on a <button> is nonstandard and Firefox-specific. By default, unlike other browsers, Firefox persists the dynamic disabled state of a <button> across page loads. Setting the value of this attribute to off (i.e. autocomplete="off") disables this feature. See bug 654072.
|
||||
@@ -0,0 +1,3 @@
|
||||
autofocus [HTML5]
|
||||
|
||||
This Boolean attribute lets you specify that the button should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form-associated element in a document can have this attribute specified.
|
||||
@@ -0,0 +1,5 @@
|
||||
disabled
|
||||
|
||||
This Boolean attribute indicates that the user cannot interact with the button. If this attribute is not specified, the button inherits its setting from the containing element, for example <fieldset>; if there is no containing element with the disabled attribute set, then the button is enabled.
|
||||
|
||||
Firefox will, unlike other browsers, by default, persist the dynamic disabled state of a <button> across page loads. Use the autocomplete attribute to control this feature.
|
||||
@@ -0,0 +1,3 @@
|
||||
form [HTML5]
|
||||
|
||||
The form element that the button is associated with (its form owner). The value of the attribute must be the id attribute of a <form> element in the same document. If this attribute is not specified, the <button> element must be a descendant of a form element. This attribute enables you to place <button> elements anywhere within a document, not just as descendants of their <form> elements.
|
||||
@@ -0,0 +1,8 @@
|
||||
formenctype [HTML5]
|
||||
|
||||
If the button is a submit button, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:
|
||||
application/x-www-form-urlencoded: The default value if the attribute is not specified.
|
||||
multipart/form-data: Use this value if you are using an <input> element with the type attribute set to file.
|
||||
text/plain
|
||||
|
||||
If this attribute is specified, it overrides the enctype attribute of the button's form owner.
|
||||
@@ -0,0 +1,8 @@
|
||||
formmethod [HTML5]
|
||||
|
||||
If the button is a submit button, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:
|
||||
|
||||
post: The data from the form is included in the body of the form and is sent to the server.
|
||||
get: The data from the form are appended to the form attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.
|
||||
|
||||
If specified, this attribute overrides the method attribute of the button's form owner.
|
||||
@@ -0,0 +1,7 @@
|
||||
formtarget [HTML5]
|
||||
|
||||
If the button is a submit button, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). If this attribute is specified, it overrides the target attribute of the button's form owner. The following keywords have special meanings:
|
||||
_self: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.
|
||||
_blank: Load the response into a new unnamed browsing context.
|
||||
_parent: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as _self.
|
||||
_top: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self.
|
||||
@@ -0,0 +1,6 @@
|
||||
type
|
||||
|
||||
The type of the button. Possible values are:
|
||||
submit: The button submits the form data to the server. This is the default if the attribute is not specified, or if the attribute is dynamically changed to an empty or invalid value.
|
||||
reset: The button resets all the controls to their initial values.
|
||||
button: The button has no default behavior. It can have client-side scripts associated with the element's events, which are triggered when the events occur.
|
||||
@@ -0,0 +1,10 @@
|
||||
align [Deprecated since HTML4.01] [Obsolete since HTML5]
|
||||
|
||||
This enumerated attribute indicates how the caption must be aligned with respect to the table. It may have the following values:
|
||||
left, displayed to the left of the table
|
||||
top, displayed before the the table
|
||||
right, displayed to the right of the table
|
||||
bottom, displayed under the table
|
||||
|
||||
Usage note:
|
||||
Do not use this attribute, as it has been deprecated: the <caption> element should be styled using CSS. To give a similar effect to the align attribute, use the the CSS properties caption-side and text-align.
|
||||
@@ -0,0 +1,8 @@
|
||||
align [Deprecated since HTML4.01] [Obsolete since HTML5]
|
||||
|
||||
This enumerated attribute specifies how horizontal alignment of each column cell content will be handled. Possible values are:
|
||||
left, aligning the content to the left of the cell
|
||||
center, centering the content in the cell
|
||||
right, aligning the content to the right of the cell
|
||||
justify, inserting spaces into the textual content so that the content is justified in the cell
|
||||
char, aligning the textual content on a special character with a minimal offset, defined by the char and charoff attributes Unimplemented (see bug 2212).
|
||||
@@ -0,0 +1,7 @@
|
||||
span
|
||||
|
||||
This attribute contains a positive integer indicating the number of consecutive columns the <colgroup> element spans. If not present, its default value is 1.
|
||||
|
||||
Note:
|
||||
This attribute is applied on the attributes of the column group, it has no effect on the CSS styling rules associated with it or, even more, to the cells of the column's members of the group.
|
||||
The span attribute may not be present if there are one or more <col> elements within the <colgroup>.
|
||||
@@ -0,0 +1,26 @@
|
||||
dfn
|
||||
|
||||
In HTML5, the title attribute has special meaning.
|
||||
|
||||
Text to be displayed in a tooltip when hovering over the element.
|
||||
|
||||
This attribute contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip. Here are some typical uses of this attribute:
|
||||
|
||||
Link: the title or a description of the linked document
|
||||
Media element like an image: a description or associated credits
|
||||
Paragraph: a footnote or a commentary about it
|
||||
Quotation: some information about the author, and so on.
|
||||
|
||||
If this attribute is omitted, it means that the title of the nearest ancestor of this element is still relevant for it (and can legitimately be used as the tooltip for that element. If this attribute is set to the empty string, it explicitly means that its nearest ancestor's title is not relevant for this element (and shouldn't be used in the tooltip for that element).
|
||||
|
||||
Additional semantics are attached to the title attributes of the <link>, <abbr>, <input> and <menuitem> elements.
|
||||
|
||||
Usage note:
|
||||
The title attribute may contains several lines. Each U+000A LINE FEED (LF) inserted represents such a newline. Some caution must be taken though, as that means that:
|
||||
|
||||
<p>Newlines in title should be taken into account,like this <abbr title="This is a
|
||||
multiline title">example</abbr>.</p>
|
||||
|
||||
defines a two-line title.
|
||||
|
||||
Support for multi-line titles was added to Gecko in Gecko 12.0 (Firefox 12.0 / Thunderbird 12.0 / SeaMonkey 2.9).
|
||||
@@ -0,0 +1,3 @@
|
||||
disabled [HTML5]
|
||||
|
||||
If this Boolean attribute is set, the form controls that are its descendants, except descendants of its first optional <legend> element, are disabled, i.e., not editable. They won't receive any browsing events, like mouse clicks or focus-related ones. Often browsers display such controls as gray.
|
||||
@@ -0,0 +1,4 @@
|
||||
accept-charset
|
||||
|
||||
A space- or comma-delimited list of character encodings that the server accepts. The browser uses them in the order in which they are listed. The default value, the reserved string "UNKNOWN", indicates the same encoding as that of the document containing the form element.
|
||||
In previous versions of HTML, the different character encodings could be delimited by spaces or commas. In HTML5, only spaces are allowed as delimiters.
|
||||
@@ -0,0 +1,9 @@
|
||||
autocapitalize [!]
|
||||
|
||||
This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value for textual form control descendants should be automatically capitalized as it is entered/edited by the user. If the autocapitalize attribute is specified on an individual form control descendant, it trumps the form-wide autocapitalize setting. The non-deprecated values are available in iOS 5 and later. The default value is sentences. Possible values are:
|
||||
none: Completely disables automatic capitalization
|
||||
sentences: Automatically capitalize the first letter of sentences.
|
||||
words: Automatically capitalize the first letter of words.
|
||||
characters: Automatically capitalize all characters.
|
||||
on: Deprecated since iOS 5.
|
||||
off: Deprecated since iOS 5.
|
||||
@@ -0,0 +1,8 @@
|
||||
autocomplete [HTML5]
|
||||
|
||||
Indicates whether input elements can by default have their values automatically completed by the browser. This setting can be overridden by an autocomplete attribute on an element belonging to the form. Possible values are:
|
||||
off: The user must explicitly enter a value into each field for every use, or the document provides its own auto-completion method; the browser does not automatically complete entries.
|
||||
on: The browser can automatically complete values based on values that the user has previously entered in the form.
|
||||
|
||||
Note:
|
||||
If you set autocomplete to off in a form because the document provides its own auto-completion, then you should also set autocomplete to off for each of the form's input elements that the document can auto-complete. For details, see Google Chrome notes.
|
||||
@@ -0,0 +1,7 @@
|
||||
enctype
|
||||
|
||||
When the value of the method attribute is post, enctype is the MIME type of content that is used to submit the form to the server. Possible values are:
|
||||
application/x-www-form-urlencoded: The default value if the attribute is not specified.
|
||||
multipart/form-data: The value used for an <input> element with the type attribute set to "file".
|
||||
text/plain (HTML5)
|
||||
This value can be overridden by a formenctype attribute on a <button> or <input> element.
|
||||
@@ -0,0 +1,6 @@
|
||||
method
|
||||
|
||||
The HTTP method that the browser uses to submit the form. Possible values are:
|
||||
post: Corresponds to the HTTP POST method ; form data are included in the body of the form and sent to the server.
|
||||
get: Corresponds to the HTTP GET method; form data are appended to the action attribute URI with a '?' as separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.
|
||||
This value can be overridden by a formmethod attribute on a <button> or <input> element.
|
||||
@@ -0,0 +1,3 @@
|
||||
no-validate [HTML5]
|
||||
|
||||
This Boolean attribute indicates that the form is not to be validated when submitted. If this attribute is not specified (and therefore the form is validated), this default setting can be overridden by a formnovalidate attribute on a <button> or <input> element belonging to the form.
|
||||
@@ -0,0 +1,10 @@
|
||||
target
|
||||
|
||||
A name or keyword indicating where to display the response that is received after submitting the form. In HTML 4, this is the name/keyword for a frame. In HTML5, it is a name/keyword for a browsing context (for example, tab, window, or inline frame). The following keywords have special meanings:
|
||||
_self: Load the response into the same HTML 4 frame (or HTML5 browsing context) as the current one. This value is the default if the attribute is not specified.
|
||||
_blank: Load the response into a new unnamed HTML 4 window or HTML5 browsing context.
|
||||
_parent: Load the response into the HTML 4 frameset parent of the current frame, or HTML5 parent browsing context of the current one. If there is no parent, this option behaves the same way as _self.
|
||||
_top: HTML 4: Load the response into the full original window, and cancel all other frames. HTML5: Load the response into the top-level browsing context (i.e., the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self.
|
||||
iframename: The response is displayed in a named <iframe>.
|
||||
|
||||
HTML5: This value can be overridden by a formtarget attribute on a <button> or <input> element.
|
||||
@@ -0,0 +1,3 @@
|
||||
scrolling [Deprecated]
|
||||
|
||||
This attribute defines existence of scrollbar. If this attribute is not used, browser put a scrollbar when necessary. There are two choices; "yes" for showing a scrollbar even when it is not necessary and "no" for do not showing a scrollbar even when it is necessary.
|
||||
@@ -0,0 +1,9 @@
|
||||
Defines a keyboard shortcut to activate or add focus to the element.
|
||||
|
||||
This attribute provides a hint for generating a keyboard shortcut for the current element. This attribute consists of a space-separated list of characters (one single Unicode code point). The browser should use the first one that exists on the computer keyboard layout.
|
||||
|
||||
HTML4 Note:
|
||||
In previous versions of HTML, only one character could be specified. Also it wasn't a global attribute and could be applied only to <a>, <area>, <button>, <input>, <label>, <legend> and <textarea>.
|
||||
|
||||
Usage note:
|
||||
The operation to activate the accesskey depends on browser and its platform.
|
||||
@@ -0,0 +1,6 @@
|
||||
Often used with CSS to style elements with common properties.
|
||||
|
||||
This attribute is a space-separated list of the classes of the element. Classes allows CSS and Javascript to select and access specific elements via the class selectors or functions like the DOM method document.getElementsByClassName.
|
||||
|
||||
Usage note:
|
||||
Though the specification doesn't put requirements on the name of classes, web developers are encouraged to use names that describe the semantic purpose of the element, rather to the presentation of the element (e.g., attribute to describe an attribute rather than italics, although an element of this class may be presented by italics). Semantic names remain logical even if the presentation of the page changes.
|
||||
@@ -0,0 +1,12 @@
|
||||
Indicates whether the element's content is editable.
|
||||
|
||||
This enumerated attribute indicates if the element should be editable by the user. If so, the browser modifies its widget to allow editing. The attribute must take one of the following values:
|
||||
|
||||
true or the empty string, which indicates that the element must be editable;
|
||||
|
||||
false, which indicates that the element must not be editable.
|
||||
|
||||
If this attribute is not set, its default value is inherited from its parent element.
|
||||
|
||||
Usage note:
|
||||
This attribute is an enumerated one and not a Boolean one. This means that the explicit usage of one of the values true, false or the empty string is mandatory and that a shorthand like <label contenteditable>Example Label</label> is not allowed. The correct usage is <label contenteditable="true">Example Label</label>.
|
||||
@@ -0,0 +1,3 @@
|
||||
Defines the ID of a <menu> element which will serve as the element's context menu.
|
||||
|
||||
A context menu is a menu that appears upon user interaction, such as a right-click. HTML5 now allows us to customize this menu. Here are some implementation examples, including nested menus.
|
||||
@@ -0,0 +1,9 @@
|
||||
Lets you attach custom attributes to an HTML element.
|
||||
|
||||
This class of attributes, called custom data attributes, allows proprietary information to be exchanged between the HTML and its DOM representation that may be used by scripts. All such custom data are available via the HTMLElement interface of the element the attribute is set on. The HTMLElement.dataset property gives access to them.
|
||||
The * may be replaced by any name following the production rule of xml names with the following restrictions:
|
||||
|
||||
the name must not start with xml, whatever case is used for these letters;
|
||||
the name must not contain any semicolon (U+003A);
|
||||
the name must not contain capital A to Z letters.
|
||||
Note that the HTMLElement.dataset attribute is a StringMap and the name of the custom data attribute data-test-value will be accessible via HTMLElement.dataset.testValue as any dash (U+002D) is replaced by the capitalization of the next letter (camelcase).
|
||||
@@ -0,0 +1,14 @@
|
||||
Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left)
|
||||
|
||||
This enumerated attribute indicates the directionality of the element's text. It can have the following values:
|
||||
|
||||
ltr, which means left to right and is to be used for languages that are written from the left to the right (like English);
|
||||
rtl, which means right to left and is to be used for languages that are written from the right to the left (like Arabic);
|
||||
auto, which let the user agent decides. It uses a basic algorithm as it parses the characters inside the element until it finds a character with a strong directionality, then apply that directionality to the whole element.
|
||||
|
||||
Usage notes:
|
||||
This attribute is mandatory for the <bdo> element where it has a different semantic meaning.
|
||||
This attribute is not inherited by the <bdi> element. If not set, its value is auto.
|
||||
This attribute can be overridden by the CSS properties direction and unicode-bidi, if a CSS page is active and the element supports these properties.
|
||||
As the directionality of the text is semantically related to its content and not to its presentation, it is recommended that web developers use this attribute instead of the related CSS properties when possible. That way, the text will display correctly even on a browser that doesn't support CSS or has the CSS deactivated.
|
||||
The auto value should be used for data with an unknown directionality, like data coming from user input, eventually stored in a database.
|
||||
@@ -0,0 +1,12 @@
|
||||
Defines whether the element can be dragged.
|
||||
|
||||
This enumerated attribute indicates whether the element can be dragged, using the Drag and Drop API. It can have the following values:
|
||||
|
||||
true, which indicates that the element may be dragged.
|
||||
false, which indicates that the element may not be dragged.
|
||||
|
||||
If this attribute is not set, its default value is auto, meaning the behavior should be the one defined by default by the browser.
|
||||
|
||||
Usage notes:
|
||||
This attribute is an enumerated one and not a Boolean one. This means that the explicit usage of one of the values true or false is mandatory and that a shorthand like <label draggable>Example Label</label> is not allowed. The correct usage is <label draggable="true">Example Label</label>.
|
||||
By default, only text selections, images, and links can be dragged. For all others elements, the event ondragstart must be set in order to the drag and drop mechanism to work, as shown in this comprehensive example.
|
||||
@@ -0,0 +1,9 @@
|
||||
Indicates that the element accept the dropping of content on it.
|
||||
|
||||
HTML5.
|
||||
Unimplemented.
|
||||
This enumerated attribute indicates what types of content can be dropped on an element, using the Drag and Drop API. It can have the following values:
|
||||
|
||||
copy, which indicates that dropping will create a copy of the element that was dragged
|
||||
move, which indicates that the element that was dragged will be moved to this new location.
|
||||
link, will create a link to the dragged data.
|
||||
@@ -0,0 +1,9 @@
|
||||
Prevents rendering of given element, while keeping child elements, e.g. script elements, active.
|
||||
|
||||
This Boolean attribute indicates that the element is not yet, or is no longer, relevant. For example, it can be used to hide elements of the page that can't be used until the login process has been completed. The browser won't render such elements.
|
||||
|
||||
Usage notes:
|
||||
This attribute must not be used to hide content that could legitimately be shown. For example, it shouldn't be used to hide tabs panels of a tabbed interface, as this is a styling decision and another style showing them would lead to a perfectly correct page.
|
||||
Hidden elements shouldn't be linked from non-hidden elements.
|
||||
Elements that are descendants of a hidden element are still active, which means that script elements can still execute and form elements can still submit.
|
||||
Changing the display CSS value of an element with the hidden attribute overrides the behavior. For instance, an element styled display: flex will be displayed on screen regardless of the hidden attribute being present.
|
||||
@@ -0,0 +1,8 @@
|
||||
id
|
||||
|
||||
This attribute defines a unique identifier (ID) which must be unique in the whole document. Its purpose is to identify the element when linking (using a fragment identifier), scripting, or styling (with CSS).
|
||||
|
||||
Usage note:
|
||||
This attribute's value is an opaque string: this means that web author must not use it to convey any information. Particular meaning, for example semantic meaning, must not be derived from the string.
|
||||
This attribute's value must not contain white spaces. Browsers treat non-conforming IDs that contains white spaces as if the white space is part of the ID. In contrast to the class attribute, which allows space-separated values, elements can only have one single ID defined through the id attribute. Note that an element may have several IDs, but the others should be set by another means, such as via a script interfacing with the DOM interface of the element.
|
||||
Using characters except ASCII letters and digits, '_', '-' and '.' may cause compatibility problems, as they weren't allowed in HTML 4. Though this restriction has been lifted in HTML 5, an ID should start with a letter for compatibility.
|
||||
@@ -0,0 +1,7 @@
|
||||
Defines the language used in the element.
|
||||
|
||||
This attribute participates in defining the language of the element, the language that non-editable elements are written in or the language that editable elements should be written in. The tag contains one single entry value in the format defines in the Tags for Identifying Languages (BCP47) IETF document. If the tag content is the empty string the language is set to unknown; if the tag content is not valid, regarding to BCP47, it is set to invalid.
|
||||
|
||||
Usage note:
|
||||
Even if the lang attribute is set, it may not be taken into account, as the xml:lang attribute has priority. Read the algorithm determining the language of an element's content to see how the language is determined in all cases.
|
||||
For the CSS pseudo-class :lang, two invalid language names are different if their names are different.
|
||||
@@ -0,0 +1,13 @@
|
||||
Indicates whether spell checking is allowed for the element.
|
||||
|
||||
This enumerated attribute defines whether the element may be checked for spelling errors. It may have the following values:
|
||||
|
||||
true, which indicates that the element should be, if possible, checked for spelling errors;
|
||||
false, which indicates that the element should not be checked for spelling errors.
|
||||
|
||||
If this attribute is not set, its default value is element-type and browser-defined. This default value may also be inherited, which means that the element content will be checked for spelling errors only if its nearest ancestor has a spellcheck state of true.
|
||||
|
||||
Usage note:
|
||||
his attribute is an enumerated one and not a Boolean one. This means that the explicit usage of one of the values true or false is mandatory and that a shorthand like <label spellcheck>Example Label</label> is not allowed. The correct usage is <label spellcheck="true">Example Label</label>.
|
||||
This attribute is merely a hint for the browser: browsers are not required to be able to check for spelling errors. Typically non-editable elements are not checked for spelling errors, even if the spellcheck attribute is set to true and the browser supports spellchecking.
|
||||
The default value of this attribute is browser and element-dependant.
|
||||
@@ -0,0 +1,6 @@
|
||||
Defines CSS styles which will override styles previously set.
|
||||
|
||||
This attribute contains CSS styling declarations to be applied to the element. Note that it is recommended for styles to be defined in a separate file or files. This attribute and the <style> element have mainly the purpose of allowing for quick styling, for example for testing purposes.
|
||||
|
||||
Usage note:
|
||||
This attribute must not be used to convey semantic information. Even if all styling is removed, a page should remain semantically correct. Typically it shouldn't be used to hide irrelevant information; this should be done using the hidden attribute.
|
||||
@@ -0,0 +1,11 @@
|
||||
This integer attribute indicates if the element can take input focus (is focusable), if it should participate to sequential keyboard navigation, and if so, at what position. It can takes several values:
|
||||
|
||||
a negative value means that the element should be focusable, but should not be reachable via sequential keyboard navigation;
|
||||
|
||||
0 means that the element should be focusable and reachable via sequential keyboard navigation, but its relative order is defined by the platform convention;
|
||||
|
||||
a positive value which means should be focusable and reachable via sequential keyboard navigation; its relative order is defined by the value of the attribute: the sequential follow the increasing number of the tabindex. If several elements share the same tabindex, their relative order follows their relative position in the document).
|
||||
|
||||
An element with a 0 value, an invalid value, or no tabindex value should be placed after elements with a positive tabindex in the sequential keyboard navigation order.
|
||||
|
||||
You can consult this article to see a comprehensive explanation of focus management.
|
||||
@@ -0,0 +1,22 @@
|
||||
Text to be displayed in a tooltip when hovering over the element.
|
||||
|
||||
This attribute contains a text representing advisory information related to the element it belongs to. Such information can typically, but not necessarily, be presented to the user as a tooltip. Here are some typical uses of this attribute:
|
||||
|
||||
Link: the title or a description of the linked document
|
||||
Media element like an image: a description or associated credits
|
||||
Paragraph: a footnote or a commentary about it
|
||||
Quotation: some information about the author, and so on.
|
||||
|
||||
If this attribute is omitted, it means that the title of the nearest ancestor of this element is still relevant for it (and can legitimately be used as the tooltip for that element. If this attribute is set to the empty string, it explicitly means that its nearest ancestor's title is not relevant for this element (and shouldn't be used in the tooltip for that element).
|
||||
|
||||
Additional semantics are attached to the title attributes of the <link>, <abbr>, <input> and <menuitem> elements.
|
||||
|
||||
Usage note:
|
||||
The title attribute may contains several lines. Each U+000A LINE FEED (LF) inserted represents such a newline. Some caution must be taken though, as that means that:
|
||||
|
||||
<p>Newlines in title should be taken into account,like this <abbr title="This is a
|
||||
multiline title">example</abbr>.</p>
|
||||
|
||||
defines a two-line title.
|
||||
|
||||
Support for multi-line titles was added to Gecko in Gecko 12.0 (Firefox 12.0 / Thunderbird 12.0 / SeaMonkey 2.9).
|
||||
@@ -0,0 +1,3 @@
|
||||
version [Deprecated since HTML4.01] [Obsolete since HTML5]
|
||||
|
||||
Specifies the version of the HTML Document Type Definition that governs the current document. This attribute is not needed, because it is redundant with the version information in the document type declaration.
|
||||
@@ -0,0 +1,3 @@
|
||||
mozallowfullscreen [!] [Deprecated]
|
||||
|
||||
Use allowfullscreen instead. In Gecko 9.0 or later, this attribute can be set to true if the frame is allowed to be placed into full screen mode by calling its element.mozRequestFullScreen() method. If this isn't set, the element can't be placed into full screen mode.
|
||||
@@ -0,0 +1,3 @@
|
||||
mozapp [!] [Only available on Firefox OS]
|
||||
|
||||
For frames hosting an open web app, this specifies the URL of the app manifest. This ensures that the app is loaded with the right permissions. See Using the Browser API for details. Available in Gecko 13.0 and later.
|
||||
@@ -0,0 +1,3 @@
|
||||
mozbrowser [!] [Only available on Firefox OS]
|
||||
|
||||
Indicates that the frame is to appear like a top-level browser window to the embedded content. This means that window.top, window.parent, window.frameElement, etc. will not reflect the frame hierarchy. This allows for a web browser UI to be implemented entirely with web technology, given the right permissions. See Using the Browser API for details. Available in Gecko 13.0 and later.
|
||||
@@ -0,0 +1,15 @@
|
||||
sandbox [HTML5 only]
|
||||
|
||||
If specified as an empty string, this attribute enables extra restrictions on the content that can appear in the inline frame. The value of the attribute can either be an empty string (all the restrictions are applied), or a space-separated list of tokens that lift particular restrictions. Valid tokens are:
|
||||
allow-same-origin: Allows the content to be treated as being from its normal origin. If this keyword is not used, the embedded content is treated as being from a unique origin.
|
||||
allow-top-navigation: Allows the embedded browsing context to navigate (load) content to the top-level browsing context. If this keyword is not used, this operation is not allowed.
|
||||
allow-forms: Allows the embedded browsing context to submit forms. If this keyword is not used, this operation is not allowed.
|
||||
allow-popups: Allows popups (like from window.open).
|
||||
allow-scripts: Allows the embedded browsing context to run scripts (but not create pop-up windows). If this keyword is not used, this operation is not allowed.
|
||||
allow-pointer-lock: Allows the embedded browsing context to use the Pointer Lock API.
|
||||
|
||||
Note:
|
||||
|
||||
When the embedded document has the same origin as the main page, it is strongly discouraged to use both allow-scripts and allow-same-origin at the same time, as that allows the embedded document to programmatically remove the sandbox attribute. Although it is accepted, this case is no more secure than not using the sandbox attribute.
|
||||
Sandboxing in general is only of minimal help if the attacker can arrange for the potentially hostile content to be displayed in the user's browser outside a sandboxed iframe. It is recommended that such content should be served from a separate dedicated domain, to limit the potential damage.
|
||||
The sandbox attribute is not supported in Internet Explorer 9 and earlier versions, or in Opera.
|
||||
@@ -0,0 +1,3 @@
|
||||
seamless [HTML5 only]
|
||||
|
||||
This Boolean attribute indicates that the browser should render the inline frame in a way that makes it appear to be part of the containing document, for example by applying CSS styles that apply to the <iframe> to the contained document before styles specified in that document, and by opening links in the contained documents in the parent browsing context (unless another setting prevents this). In XHTML, attribute minimization is forbidden, and the seamless attribute must be defined as <iframe seamless="seamless">.
|
||||
@@ -0,0 +1,3 @@
|
||||
srcdoc [HTML5 only]
|
||||
|
||||
The content of the page that the embedded context is to contain. This attribute is expected to be used together with the sandbox and seamless attributes. If a browser supports the srcdoc attribute, it will override the content specified in the src attribute (if present). If a browser does NOT support the srcdoc attribute, it will show the file specified in the src attribute instead (if present).
|
||||
@@ -0,0 +1,3 @@
|
||||
webkitallowfullscreen [!] [Deprecated]
|
||||
|
||||
Use allowfullscreen instead. In Chrome 17 or later (and maybe earlier), this attribute can be set to true if the frame is allowed to be placed into full screen mode by calling its element.webkitRequestFullScreen() method. If this isn't set, the element can't be placed into full screen mode.
|
||||
@@ -0,0 +1,6 @@
|
||||
alt
|
||||
|
||||
This attribute defines the alternative text describing the image. Users will see this displayed if the image URL is wrong, the image is not in one of the supported formats, or until the image is downloaded.
|
||||
|
||||
Usage note:
|
||||
Omitting this attribute indicates that the image is a key part of the content, but no textual equivalent is available. Setting this attribute to the empty string indicates that this image is not a key part of the content; non-visual browsers may omit it from rendering.
|
||||
@@ -0,0 +1,13 @@
|
||||
crossorigin [HTML5]
|
||||
|
||||
This enumerated attribute indicates if the fetching of the related image must be done using CORS or not. CORS-enabled images can be reused in the <canvas> element without being tainted. The allowed values are:
|
||||
|
||||
anonymous
|
||||
|
||||
A cross-origin request (i.e. with Origin: HTTP header) is performed. But no credential is sent (i.e. no cookie, no X.509 certificate and no HTTP Basic authentication is sent). If the server does not give credentials to the origin site (by not setting the Access-Control-Allow-Origin: HTTP header), the image will be tainted and its usage restricted..
|
||||
|
||||
use-credentials
|
||||
|
||||
A cross-origin request (i.e. with Origin: HTTP header) performed with credential is sent (i.e. a cookie, a certificate and HTTP Basic authentication is performed). If the server does not give credentials to the origin site (through Access-Control-Allow-Credentials: HTTP header), the image will be tainted and its usage restricted.
|
||||
|
||||
When not present, the resource is fetched without a CORS request (i.e. without sending the Origin: HTTP header), preventing its non-tainted usage in <canvas> elements. If invalid, it is handled as if the enumerated keyword anonymous was used. See CORS settings attributes for additional information.
|
||||
@@ -0,0 +1,6 @@
|
||||
ismap
|
||||
|
||||
This Boolean attribute indicates that the image is part of a server-side map. If so, the precise coordinates of a click are sent to the server.
|
||||
|
||||
Usage note:
|
||||
This attribute is allowed only if the <img> element is a descendant of an <a> element with a valid href attribute.
|
||||
@@ -0,0 +1,7 @@
|
||||
sizes [HTML5]
|
||||
|
||||
A list of one or more strings separated by commas indicating a set of source sizes. Each source size consists of:
|
||||
1.an optional media condition,
|
||||
2.a source size value. The default, if missing, is 100vw.
|
||||
|
||||
Source sizes values are used to specify the intended size of the image, for the purpose of selecting a source from the list supplied by the srcset attribute. The selected size becomes the intrinsic size of the image (images inherent size if no explicit CSS styling is applied). If the srcset attribute is absent, or contains no values with a width descriptor, then the sizes attribute has no effect.
|
||||
@@ -0,0 +1,9 @@
|
||||
srcset [HTML5]
|
||||
|
||||
A list of one or more strings separated by commas indicating a set of possible images for the user agent to use. Each string is composed of:
|
||||
1. one URL to an image,
|
||||
2. a width descriptor, that is a positive integer directly followed by 'w'. The default value, if missing, is the infinity.
|
||||
3. a pixel density descriptor, that is a positive floating number directly followed by 'x'. The default value, if missing, is 1x.
|
||||
|
||||
Each string in the list must have at least a width descriptor or a pixel density descriptor to be valid. Among the list, there must be only one string containing the same tuple of width descriptor and pixel density descriptor.
|
||||
The browser chooses the most adequate image to display at a given point of time.
|
||||
@@ -0,0 +1,8 @@
|
||||
accept
|
||||
|
||||
If the value of the type attribute is file, this attribute indicates the types of files that the server accepts; otherwise it is ignored. The value must be a comma-separated list of unique content type specifiers:
|
||||
A file extension starting with the STOP character (U+002E). (E.g.: ".jpg,.png,.doc")
|
||||
A valid MIME type with no extensions
|
||||
audio/* representing sound files HTML5
|
||||
video/* representing video files HTML5
|
||||
image/* representing image files HTML5
|
||||
@@ -0,0 +1,9 @@
|
||||
autocapitalize [!]
|
||||
|
||||
This is a nonstandard attribute used by iOS Safari Mobile which controls whether and how the text value should be automatically capitalized as it is entered/edited by the user. The non-deprecated values are available in iOS 5 and later. Possible values are:
|
||||
none: Completely disables automatic capitalization
|
||||
sentences: Automatically capitalize the first letter of sentences.
|
||||
words: Automatically capitalize the first letter of words.
|
||||
characters: Automatically capitalize all characters.
|
||||
on: Deprecated since iOS 5.
|
||||
off: Deprecated since iOS 5.
|
||||
@@ -0,0 +1,9 @@
|
||||
autocomplete [HTML5]
|
||||
|
||||
This attribute indicates whether the value of the control can be automatically completed by the browser. This attribute is ignored if the value of the type attribute is hidden, password, checkbox, radio, file, or a button type (button, submit, reset, image). Possible values are:
|
||||
off: The user must explicitly enter a value into this field for every use, or the document provides its own auto-completion method; the browser does not automatically complete the entry.
|
||||
on: The browser can automatically complete the value based on values that the user has entered during previous uses.
|
||||
|
||||
If the autocomplete attribute is not specified on an input element, then the browser uses the autocomplete attribute value of the <input> element's form owner. The form owner is either the form element that this <input> element is a descendant of or the form element whose id is specified by the form attribute of the input element. For more information, see the autocomplete attribute in <form>.
|
||||
|
||||
The autocomplete attribute also controls whether Firefox will, unlike other browsers, persist the dynamic disabled state and (if applicable) dynamic checkedness of an <input> across page loads. The persistence feature is enabled by default. Setting the value of the autocomplete attribute to off disables this feature; this works even when the autocomplete attribute would normally not apply to the <input> by virtue of its type. See bug 654072.
|
||||
@@ -0,0 +1,5 @@
|
||||
autocorrect [!]
|
||||
|
||||
This is a nonstandard attribute supported by Safari that is used to control whether autocorrection should be enabled when the user is entering/editing the text value of the <input>. Possible attribute values are:
|
||||
on: Enable autocorrection
|
||||
off: Disable autocorrection
|
||||
@@ -0,0 +1,3 @@
|
||||
autofocus [HTML5]
|
||||
|
||||
This Boolean attribute lets you specify that a form control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form element in a document can have the autofocus attribute, which is a Boolean. It cannot be applied if the type attribute is set to hidden (that is, you cannot automatically set focus to a hidden control).
|
||||
@@ -0,0 +1,5 @@
|
||||
checked [Boolean]
|
||||
|
||||
When the value of the type attribute is radio or checkbox, the presence of this Boolean attribute indicates that the control is selected by default; otherwise it is ignored.
|
||||
|
||||
Firefox will, unlike other browsers, by default, persist the dynamic checked state of an <input> across page loads. Use the autocomplete attribute to control this feature.
|
||||
@@ -0,0 +1,5 @@
|
||||
disabled
|
||||
|
||||
This Boolean attribute indicates that the form control is not available for interaction. In particular, the click event will not be dispatched on disabled controls. Also, a disabled control's value isn't submitted with the form.
|
||||
|
||||
Firefox will, unlike other browsers, by default, persist the dynamic disabled state of an <input> across page loads. Use the autocomplete attribute to control this feature.
|
||||
@@ -0,0 +1,3 @@
|
||||
form [HTML5]
|
||||
|
||||
The form element that the input element is associated with (its form owner). The value of the attribute must be an id of a <form> element in the same document. If this attribute is not specified, this <input> element must be a descendant of a <form> element. This attribute enables you to place <input> elements anywhere within a document, not just as descendants of their form elements. An input can only be associated with one form.
|
||||
@@ -0,0 +1,8 @@
|
||||
formenctype [HTML5]
|
||||
|
||||
If the input element is a submit button or image, this attribute specifies the type of content that is used to submit the form to the server. Possible values are:
|
||||
application/x-www-form-urlencoded: The default value if the attribute is not specified.
|
||||
multipart/form-data: Use this value if you are using an <input> element with the type attribute set to file.
|
||||
text/plain
|
||||
|
||||
If this attribute is specified, it overrides the enctype attribute of the element's form owner.
|
||||
@@ -0,0 +1,7 @@
|
||||
formmethod [HTML5]
|
||||
|
||||
If the input element is a submit button or image, this attribute specifies the HTTP method that the browser uses to submit the form. Possible values are:
|
||||
post: The data from the form is included in the body of the form and is sent to the server.
|
||||
get: The data from the form are appended to the form attribute URI, with a '?' as a separator, and the resulting URI is sent to the server. Use this method when the form has no side-effects and contains only ASCII characters.
|
||||
|
||||
If specified, this attribute overrides the method attribute of the element's form owner.
|
||||
@@ -0,0 +1,3 @@
|
||||
formnovalidate [HTML5]
|
||||
|
||||
If the input element is a submit button or image, this Boolean attribute specifies that the form is not to be validated when it is submitted. If this attribute is specified, it overrides the novalidate attribute of the element's form owner.
|
||||
@@ -0,0 +1,7 @@
|
||||
formtarget [HTML5]
|
||||
|
||||
If the input element is a submit button or image, this attribute is a name or keyword indicating where to display the response that is received after submitting the form. This is a name of, or keyword for, a browsing context (for example, tab, window, or inline frame). If this attribute is specified, it overrides the target attribute of the elements's form owner. The following keywords have special meanings:
|
||||
_self: Load the response into the same browsing context as the current one. This value is the default if the attribute is not specified.
|
||||
_blank: Load the response into a new unnamed browsing context.
|
||||
_parent: Load the response into the parent browsing context of the current one. If there is no parent, this option behaves the same way as _self.
|
||||
_top: Load the response into the top-level browsing context (that is, the browsing context that is an ancestor of the current one, and has no parent). If there is no parent, this option behaves the same way as _self.
|
||||
@@ -0,0 +1,3 @@
|
||||
incremental [!]
|
||||
|
||||
This is a nonstandard attribute supported by Safari that only applies when the type is search. If the attribute is present, regardless of what its value is, the <input> fires search events as the user edits the text value. The event is only fired after an implementation-defined timeout has elapsed since the most recent keystroke; new keystrokes reset the timeout. In other words, the event firing is debounced. If the attribute is absent, the search event is only fired when the user explicitly initiates a search (e.g. by pressing the Enter key while within field).
|
||||
@@ -0,0 +1,3 @@
|
||||
list [HTML5]
|
||||
|
||||
Identifies a list of pre-defined options to suggest to the user. The value must be the id of a <datalist> element in the same document. The browser displays only options that are valid values for this input element. This attribute is ignored when the type attribute's value is hidden, checkbox, radio, file, or a button type.s
|
||||
@@ -0,0 +1,3 @@
|
||||
maxlength
|
||||
|
||||
If the value of the type attribute is text, email, search, password, tel, or url, this attribute specifies the maximum number of characters (in Unicode code points) that the user can enter; for other control types, it is ignored. It can exceed the value of the size attribute. If it is not specified, the user can enter an unlimited number of characters. Specifying a negative number results in the default behavior; that is, the user can enter an unlimited number of characters. The constraint is evaluated only when the value of the attribute has been changed.
|
||||
@@ -0,0 +1,3 @@
|
||||
mozactionhint [!]
|
||||
|
||||
Specifies an "action hint" used to determine how to label the enter key on mobile devices with virtual keyboards. Supported values are go, done, next, search, and send; these automatically get mapped to the appropriate string (and are case-insensitive).
|
||||
@@ -0,0 +1,3 @@
|
||||
pattern [HTML5]
|
||||
|
||||
A regular expression that the control's value is checked against. The pattern must match the entire value, not just some subset. Use the title attribute to describe the pattern to help the user. This attribute applies when the value of the type attribute is text, search, tel, url or email; otherwise it is ignored. The regular expression language is the same as JavaScript's. The pattern is not surrounded by forward slashes.
|
||||
@@ -0,0 +1,6 @@
|
||||
placeholder [HTML5]
|
||||
|
||||
A hint to the user of what can be entered in the control . The placeholder text must not contain carriage returns or line-feeds. This attribute applies when the value of the type attribute is text, search, tel, url or email; otherwise it is ignored.
|
||||
|
||||
Note:
|
||||
Do not use the placeholder attribute instead of a <label> element. Their purposes are different: the <label> attribute describes the role of the form element; that is, it indicates what kind of information is expected, the placeholder attribute is a hint about the format the content should take. There are cases in which the placeholder attribute is never displayed to the user, so the form must be understandable without it.
|
||||
@@ -0,0 +1,3 @@
|
||||
required [HTML5]
|
||||
|
||||
This attribute specifies that the user must fill in a value before submitting a form. It cannot be used when the type attribute is hidden, image, or a button type (submit, reset, or button). The :optional and :required CSS pseudo-classes will be applied to the field as appropriate.
|
||||
@@ -0,0 +1,3 @@
|
||||
selectionDirection [HTML5]
|
||||
|
||||
The direction in which selection occurred. This is "forward" if the selection was made from left-to-right in an LTR locale or right-to-left in an RTL locale, or "backward" if the selection was made in the opposite direction. This can be "none" if the selection direction is unknown.
|
||||
@@ -0,0 +1,3 @@
|
||||
size
|
||||
|
||||
The initial size of the control. This value is in pixels unless the value of the type attribute is text or password, in which case, it is an integer number of characters. Starting in HTML5, this attribute applies only when the type attribute is set to text, search, tel, url, email, or password; otherwise it is ignored. In addition, the size must be greater than zero. If you don't specify a size, a default value of 20 is used.
|
||||
@@ -0,0 +1,3 @@
|
||||
spellcheck [HTML5]
|
||||
|
||||
Setting the value of this attribute to true indicates that the element needs to have its spelling and grammar checked. The value default indicates that the element is to act according to a default behavior, possibly based on the parent element's own spellcheck value. The value false indicates that the element should not be checked.
|
||||
@@ -0,0 +1,3 @@
|
||||
step [HTML5]
|
||||
|
||||
Works with the min and max attributes to limit the increments at which a numeric or date-time value can be set. It can be the string any or a positive floating point number. If this attribute is not set to any, the control accepts only values at multiples of the step value greater than the minimum.
|
||||
@@ -0,0 +1,4 @@
|
||||
value
|
||||
|
||||
The initial value of the control. This attribute is optional except when the value of the type attribute is radio or checkbox.
|
||||
Note that when reloading the page, Gecko and IE will ignore the value specified in the HTML source, if the value was changed before the reload.
|
||||
@@ -0,0 +1,3 @@
|
||||
autofocus
|
||||
|
||||
This Boolean attribute lets you specify that the control should have input focus when the page loads, unless the user overrides it, for example by typing in a different control. Only one form element in a document can have the autofocus attribute, which is a Boolean.
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user