Where and how do I actually use <div> in html? If I use two tables, how to identify the second table using css? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Where and how do I actually use <div> in html? If I use two tables, how to identify the second table using css?

In my program, while making changes to first table the other table also gets the similar changes at the same time.

28th Nov 2018, 11:55 AM
Sumaya
Sumaya - avatar
2 Answers
+ 4
Use container with <div class=""></div> or <div id=""></div> or <section class=""></section> or <Section id=""></section> and make the changes in CSS
28th Nov 2018, 12:14 PM
UwU Discover Me
+ 2
If you want to make different design of each table, you can use div tag with different class or id!!
28th Nov 2018, 12:01 PM
AL Araf
AL Araf - avatar