Divisions/Sections In HTML
The <div> tag defines a division or a section in an HTML document. It is used to group block-elements to format them with styles and is often used together with CSS to layout a web page. For example, you might create a <div> element to group header objects (such as logo and navigation links), a second one to group main content of the page, and the last one to group footer objects (links or copyright text). The code © displays the copyright symbol © while “id” attribute references css rules to style a single element.
Learn the HTML5 language in this tutorial series. These tutorials are designed for new programmers to provide them thorough knowledge of full stack web development.