PDA

View Full Version : W3C Error How To Fix..


geosharing
02-13-2016, 02:28 PM
Please Check This 1 Error, 4 warning(s) how can i fix this please help me ... Here is link .



https://validator.w3.org/check?uri=http%3A%2F%2Fwww.geosharing.net&charset=%28detect+automatically%29&doctype=Inline&group=0&accept=text%2Fhtml%2Capplication%2Fxhtml%2Bxml%2Ca pplication%2Fxml%3Bq%3D0.9%2Cimage%2Fwebp%2C*%2F*% 3Bq%3D0.8&accept-language=en-US%2Cen%3Bq%3D0.8&user-agent=W3C_Validator%2F1.3+http%3A%2F%2Fvalidator.w 3.org%2Fservices

squidsk
02-13-2016, 05:15 PM
Your missing the doc type at the top of the page. It must be the first thing in the page.

geosharing
02-13-2016, 05:47 PM
can you please tell me where i am past the doc code ..

TheLastSuperman
02-14-2016, 12:59 AM
It should be at the very top! I couldn't get your main url to load, it finally took me to the forum though so can't see this to tell.

Example:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
Code blah blah blah
</head>
<body>
Code blah blah blah
</body>
</html>

This would be at the very top, the <html> is directly below it and after the closing tag for body i.e. </body> at the bottom you must close the html i.e. </html> then you're set ;).

This should only be you trying your hand at html/css, you should not be removing or adding this code from vBulletin or it's templates unless you're experienced doing so as it could cause display and/or functionality issues if not done correctly.