Does React support all HTML attributes?

Posted by Editorial Staff | Updated on

Does React support all HTML attributes?

As of React 16, both standard or custom DOM attributes are fully supported. Since React components often take both custom and DOM-related props, React uses the camelCase convention just like the DOM APIs.

Let us take few props with respect to standard HTML attributes,

These props work similarly to the corresponding HTML attributes, with the exception of the special cases. It also support all SVG attributes.

If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@] Your question and answer will appear on and help other developers.

Related Questions & Answers