Day 9

 Divisional elements

Sectional elements allow us to organize and divide document content into logical sections. These elements are used to create a structural layout for the page, including the page header, footer, and heading elements.


The element Description

<body> Represents the content of an HTML document, and there may not be more than <body>one element in the document.

<address> Provides contact information for the content in the closest element <article>or <body>parent, and if it will provide information for a <body>parent element, the information will apply to the entire document.

<article> A representation of a portion of a document, page, application, or website whose purpose is to be able to be redistributed and used independently, such as a forum thread, newspaper article, or blog post.

<aside> Represents a portion of a document whose content is in some way related to the main content of the document (this element is usually represented as a sidebar).

<footer> A footer representation of the nearest sectioning element or the entire document; the footer typically contains information about the author of the content, copyright information, or links to useful documents.

<h1-h6> Elements represent <h1>-<h6>six levels of section headers, with the element being <h1>the highest level and the element being <h6>the lowest level.

<header> The element contains <header>a set of introductory or navigational elements, some of which contain some header elements or other elements such as the site logo, a search form, and so on.

<nav> A representation of a section of a page whose purpose is to provide links for navigation, either within the document itself or to other documents.

Some of the most common examples are lists, tables of contents, and indexes.


<section> Represents an independent section with its own function within an HTML document, usually a header, and this section does not have a special tag

تعليقات