HTML - Layouts

HTML Layouts

HTML layout is the way different elements are being arranged and positioned to provide a good web page structure that is user-friendly to visitors.

Website layout pages can be in form of newspapers or magazines, which displays contents in multiple columns.

Example

website_layout

How-To

There are several ways to create a nice structure like the one above for your website. Below are four (4) major ways on how to create website layouts

  • Using CSS Float Style
  • Using Grid Layout
  • Using Flex Box
  • Using Bootstrap Framework

The <div> element is the most common element that is used while creating layouts using any of the methods above. But HTML5 introduced structural elements that we can use to define each part of a web page. The structural elements are also called Semantics Elements.

ADVERTISEMENTS

LEARNING IS A CONTINOUS PROCESS - PRACTICE MAKES PERFECT