# Dynamically Create HTML Elements An HTML element can be created with a string that matches a recognized entity. ```javascript const Paragraph = 'p'; return Some paragraph content ``` This means we can dynamically create HTML elements such as headers: ```javascript const H = ({ level, ...props }) => { const Heading = `h${Math.min(level, 6)}`; return ; }; return ( Header 1 Header 2 Header 5 ); ``` With some [inspiration](https://medium.com/@Heydon/managing-heading-levels-in-design-systems-18be9a746fa3), I've created a [live example here](https://codesandbox.io/s/3v202wmmy1).