Can someone explain what w3c validation is?
I was told to put this code at the top of my html documents in my website.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN" "http://www.w3.org/TR/REC-
html40/loose.dtd">
Then I was told to go to this website and enter the URL of my website. It said there was 29 errors even though I made sure there were no errors in the entire website.
validator.w3.org
The errors sounded so rediculous. I didn't know that you can't use the <br /> tag. It said there is no such thing as the "bgcolor" attribute of the <body> tag. It said there is no "name" attribute of the <a> tag. These sound so rediculous.
Can someone help me out?