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

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>


Output Image for  change text color of < table data > in HTML

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



  color of text (with CSS):


<p style="color:red">This is a first paragraph.</p>

<p style="color:blue">This is second paragraph.</p>

Comments

Last 7 Days

How to use referrerpolicy Attribute value ( no-referrer-when-downgrade ) with < iframe > tag in HTML ? with example

How to use autoplay and mute attribute with < video > tag in HTML for youtube ? with example

How to use Local Variable for whose values are present till function is executing in solidity ?

How to add Amazon website inside iframe?

How to use comments in Solidity programming language ?

How to use string in Solidity programming language ?

How to use arrays in Solidity programming language ?