FRIHOSTFORUMSSEARCHFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

HTML Validation Problem

 


guitarcrazy087
I just have a couple validation problems that are there for no apparent reason:

http://validator.w3.org/check?uri=http%3A%2F%2Fjoehenry.frihost.net%2Fnew&charset=%28detect+automatically%29&doctype=Inline&group=0

I really have no clue what the problem is. You can view the source by going to joehenry.frihost.net/new

Thanks for any advice!
Peterssidan
It gives you a warning that
Code:
<link rel="stylesheet" type="text/css" href="style.css" />
is xhtml and not html which you are using. Write without the "/" at the end to make it valid
Code:
<link rel="stylesheet" type="text/css" href="style.css" >
And after this the two errors disappears for some reason that I don't understand.
guitarcrazy087
Hey thanks a ton! No validation errors but it's still giving my a potential error because it says my document doesn't have a character encoding but I'm pretty sure it does. At least, the text editor I'm using says it does... any suggestions?

Thanks
Peterssidan
You should specify the encoding in a meta tag:
Code:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
In this example it uses UTF-8. If you use some other encoding, take that instead.
guitarcrazy087
Wow! Thanks man! You obviously know lots about validation and stuff. It's working perfectly now.

Thanks again,

Joe
AOP Web Development
you need to know the w3c standards, in order for you validate your html page, you may also used the add on on mozilla the web developer tool to validate your html file
Related topics

HTML + PHP problem
HTML Forms Problem
HTML Layout Problem whith variouse Browsers
html width problem [solved by myself :) ]
Compatibility among IE, Firefox and Opera

Beerwin's Plain HTML
LOOKING FOR THE SERVICES OF WEBSITE DESIGNERS
Server down?
les archarnés de la validation W3C
All my FRIH$ for a small task..

This is irritating me...
FriHost PHP Parser doesn´t work?
I want to be xhtml compliant...
Help Me Out With A Strange Page Phenomenon!
Who hates PDFs?
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.