Syntax error Getting Safari to recognize <main> HTML 5

Getting Safari to recognize <main> HTML 5



To make a <main> element to be recognized by Safari:

main {
   display: block;
   width: 800px;
   height: 800px;
   background-color: #0C0;
}

You need to focus on:

main {
   display: block;
}
Updated on: 2020-01-28T10:19:15+05:30

138 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements