A website comprises various pages arranged in a well-structured and responsive manner. The structure, interface, and responsiveness of HTML pages depend on the HTML layout elements and the HTML techniques.

The HTML layout elements define the layout of the page that how the elements are to be arranged to get a well-structured page. Whereas the HTML layout techniques beautify the elements to get a page in a presentable format. Keeping in view the importance of HTML elements and HTML techniques, this guide intends to provide the following learning outcomes:

  • What are HTML layout elements
  • CSS frameworks
  • Grid layout
  • Flexbox layout
  • Float property

HTML layout elements

The HTML5 has come up with the support of various semantic elements that can be used to design the layout of the HTML page. One can use the semantic elements in an organized manner to get the desired layout. The following HTML elements are set to set the layout of the page accordingly.

: The header section defines the header part of the document

: This element is used to create a new section inside a page