Posts

Showing posts with the label text color of table

What is HTML (Hyper text markup language) table ?

 What is HTML (Hyper text markup language) table ?  HTML(Hyper text markup language) table tag is used to display data in tabular form (row * column). There can be many columns in a row.there can be many columns in row . We can create a table to display data in tabular form, using <table> element, with the help of <tr> table row , <td>table data , and <th>table header   elements. In Each table, table row is defined by <tr> tag, table header is defined by <th>, and table data is defined by <td> tags. HTML TABLE IS USED FOR  HTML tables are used to manage the layout of the page e.g. header section, navigation bar, body content, footer section etc. But it is recommended to use div tag over table to manage the layout of the page .  The HTML tables are created using the <table> tag in which the <tr> tag is used to create table rows and <td> tag is used to create data cells. The elements under <td> ar...

How do I change text color of < table data > in HTML?

Image
How do I change text color of < table data > in HTML? change text color of < table data > in HTML <table  style=" color: blue; "> change text color of < table Row > in HTML <tr style="color: black ;">  Table data color  <td style="color: black ;">  change text color of < table header > in HTML <th style="color: green ;">  Source code for text color of table data in HTML <html> <head> </head> <body> <table border="1" style="color: blue ;"> <tr style="color: black ;"> <th>First Header</th><th>Second Header</th> </tr> <tr> <td style ="color: red ; ">first</td>  <td style ="color: green ;">Second</td> </tr> <tr style ="color: green ;> <td> Third </td> <td>Fourth</td> </tr> </table> </body> </html...