-
Book Overview & Buying
-
Table Of Contents
Mastering Responsive Web Design
By :
As per the Mozilla Developer Network (MDN) definition:
The HTML Main Element (
<main>) can be used as a container for the dominant contents of the document. The main content area consists of content that is directly related to, or expands upon the central topic of a section or the central functionality of an application. This content should be unique to the document, excluding any content that is repeated across a set of documents such as sidebars, navigation links, copyright information, site logos, and search forms (unless, of course, the document's main function is as a search form). Unlike<article>and<section>, this element does not contribute to the document outline.
Here are a few important points to remember about the <main> element:
<main> element.<main> element should never be included inside the <header...
Change the font size
Change margin width
Change background colour