There are a some elements (HTML5) that are not supported or partially supported in some browsers.
I'm interested in what is happening when document.createElement()
is used - an element is created and then if there is no support, it becomes text, which is not rendered?
Just out of a curiosity is there a way to see what elements are supported, something like a list of them, by using JavaScript and not by compatibility sheets?
You could take a look at these pages: http://html5accessibility.com/ http://wufoo.com/html5/
They list up what elements are supported and not. What happens if the element is not supported depends on the browser.
You should take a look at http://modernizr.com/ . Which is a js-project that helps older browser to render and display html-elements.
1) the site gives detail about what is supported by your current browser.
2) give full detail for every browser, what is supported and what is not
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.