First commit.

This commit is contained in:
kj
2020-08-02 01:57:21 -04:00
commit d40eb4bc36
3413 changed files with 133841 additions and 0 deletions

View File

@ -0,0 +1 @@
https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes

View File

@ -0,0 +1,15 @@
download
href
media
ping
rel
target
datafld
datasrc
hreflang
methods
name
rev
shape
type
urn

View File

@ -0,0 +1,15 @@
align
alt
archive
code
codebase
datafld
datasrc
height
hspace
mayscript
name
object
src
vspace
width

View File

@ -0,0 +1,10 @@
alt
coords
download
href
hreflang
media
rel
shape
target
type

View File

@ -0,0 +1,11 @@
autoplay
autobuffer
buffered
controls
loop
mosCurrentSampleOffset
muted
played
preload
src
volume

View File

@ -0,0 +1,2 @@
href
target

View File

@ -0,0 +1,3 @@
color
face
size

View File

@ -0,0 +1 @@
dir

View File

@ -0,0 +1,4 @@
balance
loop
src
volume

View File

@ -0,0 +1,18 @@
onafterprint
onbeforeprint
onbeforeunload
onblur
onerror
onfocus
onhashchange
onlanguagechange
onload
onmessage
onoffline
ononline
onpopstate
onredo
onresize
onstorage
onundo
onunload

View File

@ -0,0 +1,12 @@
autofocus
autocomplete
disabled
form
formaction
formenctype
formmethod
formnovalidate
formtarget
name
type
value

View File

@ -0,0 +1,3 @@
height
moz-opaque
width

View File

@ -0,0 +1,2 @@
bgcolor
span

View File

@ -0,0 +1,2 @@
bgcolor
span

View File

@ -0,0 +1 @@
value

View File

@ -0,0 +1 @@
nowrap

View File

@ -0,0 +1,2 @@
cite
datetime

View File

@ -0,0 +1 @@
compact

View File

@ -0,0 +1,4 @@
height
src
type
width

View File

@ -0,0 +1,3 @@
disabled
form
name

View File

@ -0,0 +1,9 @@
accept-charset
action
autocapitalize
autocomplete
enctype
method
name
novalidate
target

View File

@ -0,0 +1,7 @@
src
name
noresize
scrolling
marginheight
marginwidth
frameborder

View File

@ -0,0 +1,2 @@
cols
rows

View File

@ -0,0 +1,20 @@
accesskey
class
contenteditable
contextmenu
data-
dir
draggable
dropzone
hidden
id
itemid
itemprop
itemref
itemscope
itemtype
lang
spellcheck
style
tabindex
title

View File

@ -0,0 +1 @@
color

View File

@ -0,0 +1 @@
manifest

View File

@ -0,0 +1,8 @@
allowfullscreen
height
name
sandbox
seamless
src
srcdoc
width

View File

@ -0,0 +1,9 @@
alt
crossorigin
height
ismap
src
sizes
srcset
width
usemap

View File

@ -0,0 +1,38 @@
type
accept
autocapitalize
mozactionhint
autocomplete
autocorrect
autofocus
autosave
checked
disabled
form
formaction
formenctype
formmethod
formnovalidate
formtarget
height
incremental
inputmode
list
max
maxlength
min
minlength
multiple
name
pattern
placeholder
readonly
required
selectionDirection
size
spellcheck
src
step
value
width
x-moz-errormessage

View File

@ -0,0 +1,2 @@
cite
datetime

View File

@ -0,0 +1,2 @@
prompt
action

View File

@ -0,0 +1,6 @@
autofocus
challenge
disabled
form
keytype
name

View File

@ -0,0 +1,3 @@
accesskey
for
form

View File

@ -0,0 +1 @@
value

View File

@ -0,0 +1,11 @@
crossorigin
use-credentials
disabled
href
hreflang
media
methods
rel
sizes
target
type

View File

@ -0,0 +1 @@
name

View File

@ -0,0 +1,16 @@
behavior
bgcolor
direction
height
hspace
loop
scrollamount
scrolldelay
truespeed
vspace
width
onbounce
onfinish
onstart
start
stop

View File

@ -0,0 +1,2 @@
label
type

View File

@ -0,0 +1,8 @@
checked
command
default
disabled
icon
label
radiogroup
type

View File

@ -0,0 +1,5 @@
name
charset
itemprop
http-equiv
content

View File

@ -0,0 +1,7 @@
value
min
max
low
high
optimum
form

View File

@ -0,0 +1,8 @@
data
form
height
name
type
typemustmatch
usemap
width

View File

@ -0,0 +1,4 @@
compact
reversed
start
type

View File

@ -0,0 +1,2 @@
disabled
label

View File

@ -0,0 +1,4 @@
disabled
label
selected
value

View File

@ -0,0 +1,3 @@
for
form
name

View File

@ -0,0 +1,2 @@
max
value

View File

@ -0,0 +1 @@
cite

View File

@ -0,0 +1,5 @@
async
src
type
defer
crossorigin

View File

@ -0,0 +1,7 @@
autofocus
disabled
form
multiple
name
required
size

View File

@ -0,0 +1,5 @@
sizes
src
srcset
type
media

View File

@ -0,0 +1,5 @@
type
size
width
height
align

View File

@ -0,0 +1,5 @@
type
media
scoped
title
disabled

View File

@ -0,0 +1,3 @@
colspan
headers
rowspan

View File

@ -0,0 +1,18 @@
autocapitalize
autocomplete
autofocus
cols
disabled
form
maxlength
minlength
name
placeholder
readonly
required
rows
selectionDirection
selectionEnd
selectionStart
spellcheck
wrap

View File

@ -0,0 +1,4 @@
colspan
headers
rowspan
scope

View File

@ -0,0 +1 @@
datetime

View File

@ -0,0 +1,5 @@
default
kind
label
src
srclang

View File

@ -0,0 +1,12 @@
autoplay
buffered
controls
crossorigin
height
loop
muted
played
preload
poster
src
width

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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)

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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)

View File

@ -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).

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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 [!].

View File

@ -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.

Some files were not shown because too many files have changed in this diff Show More