[docs] Update supported HTML attributes
Paul O’Shannessy committed
Apr 20, 2015 at 09:56 UTC
1dff5a20092e94f307e75b4b839ea316ca577c31
1 file changed
+12
-11
docs/docs/ref-04-tags-and-attributes.md
+12
-11
@@ -53,23 +53,24 @@ These standard attributes are supported:
53
54
```
55
accept acceptCharset accessKey action allowFullScreen allowTransparency alt
56
-async autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked classID
57
-className cols colSpan content contentEditable contextMenu controls coords
58
-crossOrigin data dateTime defer dir disabled download draggable encType form
59
-formAction formEncType formMethod formNoValidate formTarget frameBorder height
60
-hidden href hrefLang htmlFor httpEquiv icon id label lang list loop manifest
61
-marginHeight marginWidth max maxLength media mediaGroup method min multiple
62
-muted name noValidate open pattern placeholder poster preload radioGroup
63
-readOnly rel required role rows rowSpan sandbox scope scoped scrolling seamless
64
-selected shape size sizes span spellCheck src srcDoc srcSet start step style
65
-tabIndex target title type useMap value width wmode
56
+async autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked
57
+classID className colSpan cols content contentEditable contextMenu controls
58
+coords crossOrigin data dateTime defer dir disabled download draggable encType
59
+form formAction formEncType formMethod formNoValidate formTarget frameBorder
60
+headers height hidden high href hrefLang htmlFor httpEquiv icon id label lang
61
+list loop low manifest marginHeight marginWidth max maxLength media mediaGroup
62
+method min multiple muted name noValidate open optimum pattern placeholder
63
+poster preload radioGroup readOnly rel required role rowSpan rows sandbox scope
64
+scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc
65
+srcSet start step style tabIndex target title type useMap value width wmode
66
```
67
68
In addition, the following non-standard attributes are supported:
69
70
- `autoCapitalize autoCorrect` for Mobile Safari.
71
- `property` for [Open Graph](http://ogp.me/) meta tags.
72
-- `itemProp itemScope itemType itemRef itemId` for [HTML5 microdata](http://schema.org/docs/gs.html).
72
+- `itemProp itemScope itemType itemRef itemID` for [HTML5 microdata](http://schema.org/docs/gs.html).
73
+- `unselectable` for Internet Explorer.
74
75
There is also the React-specific attribute `dangerouslySetInnerHTML` ([more here](/react/docs/special-non-dom-attributes.html)), used for directly inserting HTML strings into a component.
76