How to check if an HTML element is supported by a browser
<p>Hi
Is there a way to check if a tag is valid html tag and / or supported by the browser ?
Like if I type text "hi" in a set of p1 tag, browsers wont show anything in display, but p1 is not a valid html tag. How to check this using javascript ?</p>
