I would like to use the font color here. but I donβt seem to know where to put the code for:
<html> <tr> <td style="padding-left: 5px;"> 11.15 - 12.00 </td> <td style="padding-left: 5px; padding-bottom:3px;"> <b> TEST </b><br/></td> </tr> </html>
To set the font color, simply set the color attribute in the style:
<table> <tr> <td style="padding-left: 5px; padding-bottom:3px; color:#FF0000; font-weight:bold">TEST</td> </tr> </table>
This will make the word TEST red.
<html> <tr> <td style="padding-left: 5px; color: blue;"> 11.15 - 12.00 </td> <td style="padding-left: 5px; padding-bottom:3px; color: green;"> <b> TEST </b><br/></td> </tr> </html>
Use the Css stylesheet:
<style> .a td{ padding-left: 5px; padding-bottom:3px; color: blue; } </style> <table class="a"> <tr> <td >TEST</td> </tr> </table>
I did not find the body tag in your code and was not a table tag .. so here is the correct code ... according to your requirements
<html> <body> <table> <tr> <td style="padding-left: 5px;color:red"> 11.15 - 12.00 </td> <td style="padding-left: 5px; padding-bottom:3px;"><b> TEST </b><br/></td> </tr> </table> </body> </html>