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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -