HTML table | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 1

HTML table

Can the area of a table block be predetermined in ā€œhtmlā€?

23rd Jun 2020, 7:06 AM
Al Tanvir Alam
5 Respostas
+ 1
Oh, now I see what's your point... Okay multiple things: 1. It is possible to set the size of an entire table and of each of its child-elements (the table rows and cells). Use the width- and height-attributes in CSS. 2. Using a table-element without any content just for styling is not state of the art and should be avoided.
23rd Jun 2020, 3:09 PM
Sandra Meyer
Sandra Meyer - avatar
+ 1
Your question is not clear for me, what are you intending with 'predetermined area'? Its size in px and it's exact position or what?
23rd Jun 2020, 2:57 PM
Sandra Meyer
Sandra Meyer - avatar
+ 1
https://code.sololearn.com/W6TcMepHpa77/?ref=app Check this code. I didā€™t write anything in the table blocks intentionally. Is it possible to increase the table size? Iā€™m a noob so I donā€™t have any idea.
23rd Jun 2020, 3:05 PM
Al Tanvir Alam
+ 1
Thank you. I highly appreciate it.
23rd Jun 2020, 4:06 PM
Al Tanvir Alam
+ 1
You're welcome šŸ™ƒ
23rd Jun 2020, 4:17 PM
Sandra Meyer
Sandra Meyer - avatar