Html tables | Sololearn: Learn to code for FREE!

+1

Html tables

https://code.sololearn.com/WU9x4kIlyr1S/?ref=app Hey im trying to make tables of 9×9 In a table of 9×9 but all tabels seem to be in one row.. I would apriciate any help please👌🏿

7/23/2019 4:42:25 AM

Meir Leibler

5 Answers

New Answer

+1

Try table { display: inline; }

+1

Thx it worked

0

without css intraction, you need to remove 2nd and 3row (c2 and c3) from very first table. All three td should be in single row. Secondly you are missing '=' sign while giving 'id' to tables. Last but not the least, id should be unique, two tags or elements can not have same id . in blow link, tables in single row without css 'inline' property. https://code.sololearn.com/WHXe0Vns4CcZ

0

td - is used to create columns in a row.

0

For those who are asking what is <span> and <div> allow me to explain Both of them are used to group some html elements in order to apply CSS to them.In this case <span> is used for inline html elements while <div> is used block html elements. Hope it's understood