First commit.
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,3 @@
|
||||
coords [HTML4 only] [Obsolete since HTML5]
|
||||
|
||||
For use with object shapes, this attribute uses a comma-separated list of numbers to define the coordinates of the object on the page.
|
@ -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,3 @@
|
||||
hreflang
|
||||
|
||||
This attribute indicates the language of the linked resource. It is purely advisory. Allowed values are determined by BCP47 for HTML5 and by RFC1766 for HTML4. Use this attribute only if the href attribute is present.
|
@ -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 @@
|
||||
ping [html5]
|
||||
|
||||
The 'ping' attribute, if present, sends the URLs of the resources a notification/ping if the user follows the hyperlink.
|
@ -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,3 @@
|
||||
rev [HTML4 only] [Obsolete since HTML5]
|
||||
|
||||
This attribute specifies a reverse link, the inverse relationship of the rel attribute. It is useful for indicating where an object came from, such as the author of a document.
|
@ -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 @@
|
||||
download [HTML5]
|
||||
|
||||
This attribute, if present, indicates that the author intends the hyperlink to be used for downloading a resource. See <a> for a full description of the download attribute.
|
@ -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,3 @@
|
||||
hreflang [HTML5]
|
||||
|
||||
Indicates the language of the linked resource. Allowed values are determined by BCP47. Use this attribute only if the href attribute is present.
|
@ -0,0 +1,3 @@
|
||||
media [HTML5]
|
||||
|
||||
A hint of the media for which the linked resource was designed, for example print and screen. If omitted, it defaults to all. Use this attribute only if the href attribute is present.
|
@ -0,0 +1,3 @@
|
||||
name [HTML4 only] [Obsolete since Gecko 5.0]
|
||||
|
||||
Define a names for the clickable area so that it can be scripted by older browsers.
|
@ -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,3 @@
|
||||
tabindex [HTML4 only] [Obsolete since Gecko 5.0]
|
||||
|
||||
A numeric value specifying the position of the defined area in the browser tabbing order. This attribute is global in HTML5.
|
@ -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,3 @@
|
||||
autoplay
|
||||
|
||||
A Boolean attribute; if specified (even if the value is "false"!), the audio will automatically begin to play back as soon as it can do so without stopping to finish loading the data.
|
@ -0,0 +1 @@
|
||||
An attribute you can read to determine which time ranges of the media have been buffered. This attribute contains a TimeRanges object.
|
@ -0,0 +1,3 @@
|
||||
controls
|
||||
|
||||
If this attribute is present, the browser will offer controls to allow the user to control audio playback, including volume, seeking, and pause/resume playback.
|
@ -0,0 +1,3 @@
|
||||
loop
|
||||
|
||||
A Boolean attribute; if specified, we will, upon reaching the end of the audio, automatically seek back to the start.
|
@ -0,0 +1,3 @@
|
||||
mozCurrentSampleOffset
|
||||
|
||||
The offset, specified as the number of samples since the beginning of the audio stream, at which the audio is currently playing.
|
@ -0,0 +1 @@
|
||||
A Boolean attribute which indicates whether the audio will be initially silenced. Its default value is false, meaning that the audio will be played.
|
@ -0,0 +1 @@
|
||||
A TimeRanges object indicating all the ranges of the audio that have been played.
|
@ -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,3 @@
|
||||
src
|
||||
|
||||
The URL of the audio to embed. This is subject to HTTP access controls. This is optional; you may instead use the <source> element within the audio block to specify the audio to embed.
|
@ -0,0 +1,3 @@
|
||||
volume
|
||||
|
||||
The playback volume of any audio portions, in the range 0.0 (silent) to 1.0 (loudest).
|
@ -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 @@
|
||||
cite
|
||||
|
||||
A URL that designates a source document or message for the information quoted. This attribute is intended to point to information explaining the context or the reference for the quote.
|
@ -0,0 +1,3 @@
|
||||
onafterprint [HTML5]
|
||||
|
||||
Function to call after the user has printed the document.
|
@ -0,0 +1,3 @@
|
||||
onbeforeprint [HTML5]
|
||||
|
||||
Function to call when the user requests printing of the document.
|
@ -0,0 +1,3 @@
|
||||
onbeforeunload [HTML5]
|
||||
|
||||
Function to call when the document is about to be unloaded.
|
@ -0,0 +1,3 @@
|
||||
onblur [HTML5]
|
||||
|
||||
Function to call when the document loses focus.
|
@ -0,0 +1,3 @@
|
||||
onerror [HTML5]
|
||||
|
||||
Function to call when the document fails to load properly.
|
@ -0,0 +1,3 @@
|
||||
onfocus [HTML5]
|
||||
|
||||
Function to call when the document receives focus.
|
@ -0,0 +1,3 @@
|
||||
onhashchange [HTML5]
|
||||
|
||||
Function to call when the fragment identifier part (starting with the hash ('#') character) of the document's current address has changed.
|
@ -0,0 +1,3 @@
|
||||
onlanguagechange [experimental]
|
||||
|
||||
Function to call when the preferred languages changed.
|
@ -0,0 +1,3 @@
|
||||
onload [HTML5]
|
||||
|
||||
Function to call when the document has finished loading.
|
@ -0,0 +1,3 @@
|
||||
onmessage [HTML5]
|
||||
|
||||
Function to call when the document has received a message.
|
@ -0,0 +1,3 @@
|
||||
onoffline [HTML5]
|
||||
|
||||
Function to call when network communication has failed.
|
@ -0,0 +1,3 @@
|
||||
ononline [HTML5]
|
||||
|
||||
Function to call when network communication has been restored.
|
@ -0,0 +1,3 @@
|
||||
onpopstate [HTML5]
|
||||
|
||||
Function to call when the user has navigated session history.
|
@ -0,0 +1,3 @@
|
||||
onredo [HTML5]
|
||||
|
||||
Function to call when the user has moved forward in undo transaction history.
|
@ -0,0 +1,3 @@
|
||||
onresize [HTML5]
|
||||
|
||||
Function to call when the document has been resized.
|
@ -0,0 +1,3 @@
|
||||
onstorage [HTML5]
|
||||
|
||||
Function to call when the storage area has changed.
|
@ -0,0 +1,3 @@
|
||||
onundo [HTML5]
|
||||
|
||||
Function to call when the user has moved backward in undo transaction history.
|
@ -0,0 +1,3 @@
|
||||
onunload [HTML5]
|
||||
|
||||
Function to call when the document is going away.
|
@ -0,0 +1,6 @@
|
||||
clear [Deprecated since HTML4.01] [Obsolete since HTML5]
|
||||
|
||||
Indicates where to begin the next line after the break.
|
||||
|
||||
Usage note:
|
||||
This attribute is obsolete in HTML5 and should not be used by authors. Use the CSS clear property instead.
|
@ -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,3 @@
|
||||
formaction [HTML5]
|
||||
|
||||
The URI of a program that processes the information submitted by the button. If specified, it overrides the action attribute of the button's form owner.
|
@ -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,3 @@
|
||||
formvalidate [HTML5]
|
||||
|
||||
If the button is a submit button, 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 button's form owner.
|
@ -0,0 +1,3 @@
|
||||
name
|
||||
|
||||
The name of the button, which is submitted with the form data.
|
@ -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,3 @@
|
||||
value
|
||||
|
||||
The initial value of the button.
|
@ -0,0 +1,3 @@
|
||||
height
|
||||
|
||||
The height of the coordinate space in CSS pixels. Defaults to 150.
|
@ -0,0 +1,3 @@
|
||||
moz-opaque
|
||||
|
||||
Lets the canvas know whether or not translucency will be a factor. If the canvas knows there's no translucency, painting performance can be optimized.
|
@ -0,0 +1,3 @@
|
||||
width
|
||||
|
||||
The width of the coordinate space in CSS pixels. Defaults to 300.
|
@ -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,3 @@
|
||||
span
|
||||
|
||||
This attribute contains a positive integer indicating the number of consecutive columns the <col> element spans. If not present, its default value is 1.
|
@ -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,9 @@
|
||||
value
|
||||
|
||||
This attribute specifies the machine-readable translation of the content of the element.
|
||||
|
||||
Browser compatibility:
|
||||
|
||||
Desktop: F
|
||||
|
||||
Mobile: None.
|
@ -0,0 +1,3 @@
|
||||
nowrap [!]
|
||||
|
||||
If the value of this attribute is set to yes, the definition text will not wrap. The default value is no.
|
@ -0,0 +1,3 @@
|
||||
cite
|
||||
|
||||
A URI for a resource that explains the change (for example, meeting minutes).
|
@ -0,0 +1,3 @@
|
||||
datetime
|
||||
|
||||
This attribute indicates the time and date of the change and must be a valid date with an optional time string. If the value cannot be parsed as a date with an optional time string, the element does not have an associated time stamp.
|
@ -0,0 +1,3 @@
|
||||
open
|
||||
|
||||
This Boolean attribute indicates whether the details will be shown to the user on page load. Default is false and so details will be hidden.
|
@ -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 @@
|
||||
open
|
||||
|
||||
Indicates that the dialog is active and available for interaction. When the open attribute is not set, it shouldn't be shown to the user.
|
@ -0,0 +1,3 @@
|
||||
compact [!]
|
||||
|
||||
Forces the description to appear on the same line as the term. This attribute is currently unsupported
|
@ -0,0 +1,3 @@
|
||||
height
|
||||
|
||||
The displayed height of the resource, in CSS pixels.
|
@ -0,0 +1,3 @@
|
||||
src
|
||||
|
||||
The URL of the resource being embedded.
|
@ -0,0 +1,3 @@
|
||||
type
|
||||
|
||||
The MIME type to use to select the plug-in to instantiate.
|
@ -0,0 +1,3 @@
|
||||
width
|
||||
|
||||
The displayed width of the resource, in CSS pixels.
|
@ -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,3 @@
|
||||
form [HTML5]
|
||||
|
||||
This attribute has the value of the id attribute of the <form> element its related to. Its default value is the id of the nearest <form> element it is a descendant of.
|
@ -0,0 +1,5 @@
|
||||
name [HTML5]
|
||||
|
||||
The name associated with the group, which is submitted with the form data.
|
||||
|
||||
The label for the field set is given by the first <legend> element that is a child of this field set.
|
@ -0,0 +1,6 @@
|
||||
accept [HTML4] [Trash]
|
||||
|
||||
A comma-separated list of content types that the server accepts.
|
||||
|
||||
Usage note:
|
||||
This attribute has been removed in HTML5 and should no longer be used. Instead, use the accept attribute of the specific <input> element.
|
@ -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.
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user