CARA MEMBUAT TABEL MEMAKAI KODING HTML(Tutorial create table using html coding)
Tutorial create table using html coding The table consists of 4 main elements: 1. Lines 2. Column 3. Cell 4.lines Then, how do you create tables in HTML? We can create it with several tags that are provided in HTML. Tags for Creating Tables in HTML There are a few tags to remember when creating tables in HTML: 1. <table> tag to wrap the table 2. <thead> tag to wrap the header of the table 3. <tbody> tag to wrap the body of the table 4. <tr> tag (table row) to create a row 5. <td> tag (table data) to create cells 6. Tag <th> (table head) to create a title in the header The most important tags to remember are the <table>, <tr>, and <td> tags. While other tags are optional (optional), they may or may not be used. Let's take a look at an example: The result: In order for the table to have lines, please add attribute border = "1" inside the <table> tag. So it will be like this: The