I have a few tables on my website i was using this code <TABLE id=table1> <TR> <TD bgcolor="#8B0000"> text here </TD> </TR> </TABLE> But i want a few tables that are exactly the same so i just repeated the code but html validator says that i have to use a different id everytime
Is there another code which i can use instead of id?
I believe the "id=table1" code you're referring to is the table ID that editors such as Frontpage automatically insert when creating a new table. It's not related to CSS styling. Since you did a copy-and-paste to duplicate the table, you either need to change the ID number for each copied table to something unique (eg: "id=table2", "id=table3", etc.), or you can possibly get rid of the ID's all together. Try changing the ID's for the copied tables and revalidate... it should work then.