Is it professional to use tables for layout in HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is it professional to use tables for layout in HTML?

is it better to use tables in creating page layout or divisions styled with CSS??

16th Mar 2018, 3:56 PM
Pallav W
Pallav W - avatar
3 Answers
+ 4
i think use div and css.. i use too.. easy and effective
16th Mar 2018, 3:57 PM
Scooby
Scooby - avatar
+ 1
Tables are not considered to be good practice when designing for mobile (they look really weird.) Divs, HTML5 semantic elements, and CSS are much better and more highly regarded in professional projects
16th Mar 2018, 4:02 PM
Ariela
Ariela - avatar
+ 1
Before they were widely used in some cases, but currently their use can cause problems (as mentioned). Use the new semantic and div elements. That more Flexbox and CSS Grid helps you a lot with the positioning of elements and if you combine them with the average queries you have something really versatile.
16th Mar 2018, 4:17 PM
Mickel
Mickel - avatar