A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://webplatform.github.io/docs/html/elements/main below:

main ยท WebPlatform Docs

main Summary

Represents the main content of the body of a document or application.

Overview Table
DOM Interface
HTMLElement
Examples

The following example shows a basic usage of the <main> element

<!DOCTYPE html>
<html>
<head>
  <title>Main element example</title>
</head>
<body>
  <header>
    <h1>The main element</h1>
  </header>
  <main>
    <h2>Some content on the main element</h2>

    <article>
      ...
    </artice>
    <section>
      ...
    </section>
  </main>
  <footer>
    Copyright 2013 Web Platform
  </footer>
</body>
</html>
Notes Related specifications
HTML 5.1
W3C Working Draft
HTML 5
W3C Recommendation
See also Related articles Document Structure

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4