In the era of responsive web design the old trend of building websites using HTML tables can't be used anymore.You have to use div tags and style them as required. The generator will provide you with the required CSS styles that you need to include in order to position the block elements correctly. The default background color of a div is transparent. HTML tag (Not supported in HTML5) HTML tag define the particular area within an HTML file where another HTML web page can be displayed. The first
tag does not have any classes or ids applied to it. We can say padding:20 , it mean the text inside the div tag will maintain a margin of 20 pixels from the borders of the div elements Border: We can add border to our div tag and specify its color size and style. . See examples. HTML div class tag attribute - how to create - example. It can contain further other div elements if required. The following example uses the div elements to create a multiple column layout. HTML provides the structure of websites. These include
,