pada percobaan hari ini kita membuat tabel html dimana suatu rangka tabel dibuat dengan script html. html sendiri memiliki rangka, seperti <html> <head> <title> ….. </title> </head> <body> </body> </html>
selanjutnya, dalam sebuah tabel selalu ada
- Baris
- Kolom
- Sel
- Garis
dalam penulisan html terdapat tag tag khusus yang dapat kita gunakan untik membuat table, diantaranya
TAG <table> element to define a table
TAG <tr> element to define a table row
TAG <td> element to define a table data
TAG <th> element to define a table heading
TAG <caption> element to define a table caption
TAG CSS border property to define a border
TAG CSS border-collapse property to collapse cell borders
TAG CSS padding property to add padding to cells
TAG CSS text-align property to align cell text
TAG CSS border-spacing property to set the spacing between cells
TAG colspan attribute to make a cell span many columns
TAG rowspan attribute to make a cell span many rows
TAG id attribute to uniquely define one table
selanjutnya kita mencoba langsung untuk mengeksekusinya
sedikit yang dapat saya sampaikan, bila ada kurang kata, mohon maaf sebelemnya, terimakasih.
Recent Comments