Here is one quick article about how to use table layout using DIV tags in HTML. Nowadays, div base HTML structure is working for all kind of sites and sometimes we need table format display for contents.
So today I am going to share how you can set table layout using DIV tags in HTML.It’s pretty simple.
Let’s see step by step.
First of all, Let’s create or write HTML code which create format like table.
In above code, I will be used main
container div as table ,
heading as table header,
table-row as table row and
col as the table column.
Next is we need to write css which define divs as tables.Let’s see following code to understand it.
border: 1px solid #CCC;
That’s it.You are done.!! 🙂
Here are few other articles you like to read:
As always a big thank you for reading and I hope this post was useful .Thanks for reading and feel free to share your thoughts! Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.