html5 - template using a non-existent main html tag in template block -


i got theme inside app.component.ts file on template block contains:

<main [class.menu-collapsed]="ismenucollapsed" bathemerun> <div class="additional-bg"></div> <router-outlet></router-outlet> </main> 

afaik element should have somewhere selector referencing not able find anywhere. maybe main tag internal angular 2 , automatically loaded?

thanks,

after research, found answer question.

the <main> tag new in html5.

the tag specifies main content of document. check documentation tag.


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -