Sign up now
to enroll in courses, follow best educators, interact with the community and track your progress.
11 lessons,
1h 16m
Web Development HTML-8 (In English)
2 plays

HTML - Tables and coding & border for table

Kajal jaisansaria
I have completed my in computer science.I love teaching, travelling,surfing net.

Unacademy user

  2. 1 am Kajal Jaisansaria. MSc in computer science Internet surfing, Play outdoor games Interacting with people Sharing my knowledge &learning on the go 2

  3. HTML TABLES With html you can create tables Tables represent a simple mechanism for creating rows and columns of data Tables are very widely used and supported by all common browsers. Tables use a very simple tag structure. 3

  4. Tables tags starts with TABLE> tag, then <TR> defines table rows. EachTR> represents one row in the table. The number of rows is determined by the number of <TR> <TD> Table data or <TH> Table Header can follow the <TR> tag 2. The number of cells in each row is determined by the number of <TH> (Table Header) and/or <TD> (Table data) tags contained within that row <TH> text will be in bold, and centered 0 4

  5. EXAMPLE TABLES-ONE ROW THRRE COLOUMN <html> <body> <table border-"1"> <tr> <td>100</td> <td>200</td> <td>300</td> > </tr></table> > </body></html> 5

  6. OUTPUT- 1ROW, 3 COLOUMN 100 1200 300 1 6

  7. EXAMPLE TABLES-TWO ROW THRRE COLOUMN <html <body> table border1> str <td 100/td> td 200</td> <td-300</td <td>400</td> <td>500</td> <td600</td> </table> body><html

  8. OUTPUT- 2ROW, 3 COLOUMN 100 200 300 400 S00 600 8

  9. TABLE BORDER: (THICK) <html> <body> H4> Withh a thick border:</H4:> table border-"8"> td>First</td:> <td Row</td> <td>Second</td> <td Row</td> <itable> </body></html>

  10. OUTPUT: (THICK) With a thick border: First Row Second Row 10