-
Which syntax will cause IE to recognize section element?
-
- document.createElement(“section”)
- document.createElement(“<section>”)
- createElement.document(“section”)
- getElementById(“section”)
- None of these
Correct Option: A
document.createElement(“section”) will cause Internet Explorer to recognize section element all of a sudden. There is no any reason behind this working but it works. We do not even need to use node that is returned by that function.