Hi guys, how do I make a fill in table in html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 2

Hi guys, how do I make a fill in table in html

I made one, but it doesn't have the column and row line and I am unable to fill it in.

24th Jan 2022, 9:06 PM
Rin N
2 Answers
+ 1
table by default dont have border, so you need to add it by yourself using css styles. https://www.w3schools.com/html/html_table_borders.asp not sure what you mean by fill it in, you set data of table using <td>your data</td> tag format to make table in html is <table> <tr> <td>data you wanna display</td> </tr> </table> this will make table with 1 row and 1 data/cell if you think about adding data by clicking on cell, like we do in excel for example, you can set input field inside td like <td><input type="text/></td>
24th Jan 2022, 9:29 PM
PanicS
PanicS - avatar
+ 1
I was think of adding data by clicking on the cell. Thank you PanicS .This is really helpful
24th Jan 2022, 10:11 PM
Rin N