Is it possible to add html to this table?

Discussion in 'HTML & Website Design' started by chrisj, Aug 17, 2007.

  1. #1
    Is it possible to add html to this table?
    For example <font> and </font> type of attributes?

    Thanks


    <table width="100%">
    	<tr><td align="center"><b>Site home page</b></td></tr>
    	<tr><td align="center">&nbsp;</td></tr>
    </table>
    Code (markup):

     
    chrisj, Aug 17, 2007 IP
  2. Muhammad Haris

    Muhammad Haris Peon

    Messages:
    576
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, you can add html elements to the table.

    Just like you've used bold tag in one of the row.

    
    	<tr><td align="center"><b>Site home page</b></td></tr>
    
    Code (markup):
    
    	<tr><td align="center"><font color="#351515>Site home page</font></td></tr>
    
    Code (markup):
    Although, I suggest using css for manging the table.

    http://www.w3schools.com
     
    Muhammad Haris, Aug 17, 2007 IP