HTML5 semantic elements and which old browsers does it support?

HTMLWeb DevelopmentFront End Technology

Internet Explorer 8 and older versions does not support semantic elements like nav, header and article. To style semantic elements, Modernizer is used. Some CSS can be added to block CSS by default.

article, header, nav, section, footer

We can also create our own elements through JavaScript by writing following code −

   document.createElement('nav'); //nav is semantic element
   document.createElement('header'); //header is semantic element
   document.createElement('article'); //article is semantic element
Updated on 04-Mar-2020 06:19:30