Browse Source

[docs] Update supported HTML attributes

main
Paul O’Shannessy 10 years ago
parent
commit
16c618dcc8
  1. 23
      docs/ref-04-tags-and-attributes.md

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

@ -53,23 +53,24 @@ These standard attributes are supported:
``` ```
accept acceptCharset accessKey action allowFullScreen allowTransparency alt accept acceptCharset accessKey action allowFullScreen allowTransparency alt
async autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked classID async autoComplete autoFocus autoPlay cellPadding cellSpacing charSet checked
className cols colSpan content contentEditable contextMenu controls coords classID className colSpan cols content contentEditable contextMenu controls
crossOrigin data dateTime defer dir disabled download draggable encType form coords crossOrigin data dateTime defer dir disabled download draggable encType
formAction formEncType formMethod formNoValidate formTarget frameBorder height form formAction formEncType formMethod formNoValidate formTarget frameBorder
hidden href hrefLang htmlFor httpEquiv icon id label lang list loop manifest headers height hidden high href hrefLang htmlFor httpEquiv icon id label lang
marginHeight marginWidth max maxLength media mediaGroup method min multiple list loop low manifest marginHeight marginWidth max maxLength media mediaGroup
muted name noValidate open pattern placeholder poster preload radioGroup method min multiple muted name noValidate open optimum pattern placeholder
readOnly rel required role rows rowSpan sandbox scope scoped scrolling seamless poster preload radioGroup readOnly rel required role rowSpan rows sandbox scope
selected shape size sizes span spellCheck src srcDoc srcSet start step style scoped scrolling seamless selected shape size sizes span spellCheck src srcDoc
tabIndex target title type useMap value width wmode srcSet start step style tabIndex target title type useMap value width wmode
``` ```
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. - `property` for [Open Graph](http://ogp.me/) meta tags.
- `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).
- `unselectable` for Internet Explorer.
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. 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.

Loading…
Cancel
Save