CreateaFreeWebsite  with Responsive Web Design

Main Element in HTML5

The main element was introduced in July 2015 to improve the structure of web page content:
<main></main>
It was added to contain the main content of the web page.

The main element is supported by all browsers except Internet Explore. It is supported by Microsoft Edge.

This element should not contain navigational devices that appear on every web page. It can contain headers that pertain to the argument or information presented within the container.

 

<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
Metas and browser intructions
</head>
<body>
<main>
    <h1>Web Page heading here</h1>
    <p>Actual page content....</p>
</main>
<footer></footer>
</body>

 

For a complete list of All elements, tags and attributes in HTML5 visit W3schools.com

 

Free Tools and Resources

Have you tried our FREE RWD template kit? Download Template #402 - 6 Page Kit