Browse Source

Merge pull request #5814 from zpao/docs-update-attrs-0.14.6

[docs] Updated supported attrs
main
Paul O’Shannessy 9 years ago
parent
commit
636920037d
  1. 46
      docs/ref-04-tags-and-attributes.md

46
docs/ref-04-tags-and-attributes.md

@ -18,11 +18,11 @@ The following HTML elements are supported:
a abbr address area article aside audio b base bdi bdo big blockquote body br a abbr address area article aside audio b base bdi bdo big blockquote body br
button canvas caption cite code col colgroup data datalist dd del details dfn button canvas caption cite code col colgroup data datalist dd del details dfn
dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5 dialog div dl dt em embed fieldset figcaption figure footer form h1 h2 h3 h4 h5
h6 head header hr html i iframe img input ins kbd keygen label legend li link h6 head header hgroup hr html i iframe img input ins kbd keygen label legend li
main map mark menu menuitem meta meter nav noscript object ol optgroup option link main map mark menu menuitem meta meter nav noscript object ol optgroup
output p param picture pre progress q rp rt ruby s samp script section select option output p param picture pre progress q rp rt ruby s samp script section
small source span strong style sub summary sup table tbody td textarea tfoot th select small source span strong style sub summary sup table tbody td textarea
thead time title tr track u ul var video wbr tfoot th thead time title tr track u ul var video wbr
``` ```
### SVG elements ### SVG elements
@ -30,8 +30,8 @@ thead time title tr track u ul var video wbr
The following SVG elements are supported: The following SVG elements are supported:
``` ```
circle clipPath defs ellipse g line linearGradient mask path pattern polygon polyline circle clipPath defs ellipse g image line linearGradient mask path pattern
radialGradient rect stop svg text tspan polygon polyline radialGradient rect stop svg text tspan
``` ```
You may also be interested in [react-art](https://github.com/facebook/react-art), a drawing library for React that can render to Canvas, SVG, or VML (for IE8). You may also be interested in [react-art](https://github.com/facebook/react-art), a drawing library for React that can render to Canvas, SVG, or VML (for IE8).
@ -53,24 +53,32 @@ These standard attributes are supported:
``` ```
accept acceptCharset accessKey action allowFullScreen allowTransparency alt accept acceptCharset accessKey action allowFullScreen allowTransparency alt
async autoComplete autoFocus autoPlay capture cellPadding cellSpacing charSet async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge
challenge checked classID className cols colSpan content contentEditable contextMenu charSet checked classID className colSpan cols content contentEditable
controls coords crossOrigin data dateTime defer dir disabled download draggable contextMenu controls coords crossOrigin data dateTime default defer dir
encType form formAction formEncType formMethod formNoValidate formTarget frameBorder disabled download draggable encType form formAction formEncType formMethod
headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode formNoValidate formTarget frameBorder headers height hidden high href hrefLang
keyParams keyType label lang list loop low manifest marginHeight marginWidth max htmlFor httpEquiv icon id inputMode integrity is keyParams keyType kind label
maxLength media mediaGroup method min minLength multiple muted name noValidate open lang list loop low manifest marginHeight marginWidth max maxLength media
optimum pattern placeholder poster preload radioGroup readOnly rel required role mediaGroup method min minLength multiple muted name noValidate nonce open
rows rowSpan sandbox scope scoped scrolling seamless selected shape size sizes optimum pattern placeholder poster preload radioGroup readOnly rel required
span spellCheck src srcDoc srcSet start step style summary tabIndex target title reversed role rowSpan rows sandbox scope scoped scrolling seamless selected
type useMap value width wmode wrap shape size sizes span spellCheck src srcDoc srcLang srcSet start step style
summary tabIndex target title type useMap value width wmode wrap
```
These RDFa attributes are supported (several RDFa attributes overlap with standard HTML attributes and thus are excluded from this list):
```
about datatype inlist prefix property resource typeof vocab
``` ```
In addition, the following non-standard attributes are supported: In addition, the following non-standard attributes are supported:
- `autoCapitalize autoCorrect` for Mobile Safari. - `autoCapitalize autoCorrect` for Mobile Safari.
- `property` for [Open Graph](http://ogp.me/) meta tags. - `color` for `<link rel="mask-icon" />` in Safari.
- `itemProp itemScope itemType itemRef itemID` for [HTML5 microdata](http://schema.org/docs/gs.html). - `itemProp itemScope itemType itemRef itemID` for [HTML5 microdata](http://schema.org/docs/gs.html).
- `security` for older versions of Internet Explorer.
- `unselectable` for Internet Explorer. - `unselectable` for Internet Explorer.
- `results autoSave` for WebKit/Blink input fields of type `search`. - `results autoSave` for WebKit/Blink input fields of type `search`.

Loading…
Cancel
Save