How do you create a header for a table in HTML? For creating table header in HTML , use the <th>…</th> tag . t stand for table h stand for header Header for a table in HTML we use <th>...</th> A table header tag is surrounded by the table row <tr>…</tr>. r stand for row <tr> <th>Learning</th> <th>HTML</th> </tr> The <tr> tag is surrounded by the <table> tag. A table consist of a rows and columns, which can be set using one or more <tr>, <th>, and <td> elements Example of table in HTML
Comments
Post a Comment