Html Layout Attributes And Its Example

Layout Attribute :

HTML has a number of elements that can be used to define each of these areas. These include the main, header, footer, nav, aside and article elements. Also, the div element is a generic block level element that can be used for grouping HTML elements.

The simplest and most popular way of creating layouts is using HTML <table> tag. These tables are arranged in columns and rows, so we can utilize these rows and columns in whatever way you like. We can design our webpage to put our web content in multiple pages. We can keep our content in middle column and we can use left column to use menu and right column can be used to put advertisement or some other stuff.

Example :


Output: