/    Sign up×
Community /Pin to ProfileBookmark

Character Encoding Problem.

This is the start of my html document:

<!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“>

<html>
<head>
<meta http-equiv=”Content Type” content=”text/html; charset=iso-8859-1″>

When I validate my code I get the message “No character encoding found. Falling back to utf-8.” Below that it reads:

Line 1, column 63: “http:” is not a reserved name

…W3C//DTD XHTML 1.0 transitional//EN” [url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-t[/url]

Line 1, column 63: cannot continue because of previous errors

…W3C//DTD XHTML 1.0 transitional//EN” [url]http://www.w3.org/TR/xhtml1/DTD/xhtml1-t[/url]

Can any one help me figure out what I am doing wrong and how to remedy the problem? Thanks a lot.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@FangMay 11.2005 — Missing quote:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

[COLOR=Red]"[/COLOR]http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Copy linkTweet thisAlerts:
@asmythauthorMay 11.2005 — Thanks a lot. I'm also not sure what is wrong with the way I structured the <h5> & <li>, <p>, </ul> tags to get this response from validating my page:


Line 107, column 3: document type does not allow element "h5" here; assuming missing "li" start-tag

<h5><li><a href="www.http://www.apple.com/trailers/fox_searchlight/kinsey/traile



Line 107, column 7: document type does not allow element "li" here

<h5><li><a href="www.http://www.apple.com/trailers/fox_searchlight/kinsey/trailer


Line 116, column 6: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

<h6><p>We're a diverse, creative boutique accustomed to fast paced innovation an


Line 122, column 18: document type does not allow element "p" here; missing one of "object", "applet", "map", "iframe", "button", "ins", "del" start-tag

<p class="italics">The Weather Man, Kinsey, Tha Assassination of Richard Nixon,


Line 143, column 4: end tag for "li" omitted, but OMITTAG NO was specified

</ul>


Thanks a lot for any help.
Copy linkTweet thisAlerts:
@felgallMay 11.2005 — <li> must within either <ol> or <ul> you can't have it following <h5>
×

Success!

Help @asmyth spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...