/    Sign up×
Community /Pin to ProfileBookmark

Validation Problem with: &#8220 and &#8221

Hi,

Can anyone tell me why &#8220 and &#8221 ( “ and ” ) won’t validate?
I’m using html 4.01 strict.

Being that this is obviously the incorrect way to add quotes to HTML, I was wondering if anyone could fill me in on the propper method. Preferably avoiding the use of <q> (which renders double primes) and blockquote (which doesn’t render quotes at all).

Thanks in advance,
-Mike

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@NogDogApr 07.2005 — No validation problems for me using the HTML 4.01 Strict doctype.
Copy linkTweet thisAlerts:
@CharlesApr 07.2005 — The proper way is to use the Q element and then CSS to change the quotation characters. ( http://www.w3.org/TR/REC-CSS2/generate.html#propdef-quotes ) Alas, support is limited for this essential aspect of HTML and CSS.

Please post a URL to your page so that we may see just what is really going on.
Copy linkTweet thisAlerts:
@Wart_HogauthorApr 07.2005 — No validation problems for me using the HTML 4.01 Strict doctype.[/QUOTE] Me either now. I seemed to have jumped to posting here. I had another validation mistake in the code (inline element not enclosed in block-level element) as soon as I corrected this problem, the errors for the quotes disappeared. I'll remember this before I post next time. Somehow I can never seem to be able to fix a problem without first make it publicly known :eek: Thanks for the responce. The proper way is to use the Q element and then CSS to change the quotation characters. ( http://www.w3.org/TR/REC-CSS2/gener...#propdef-quotes ) Alas, support is limited for this essential aspect of HTML and CSS.[/QUOTE] Thanks for the link. this is what I was looking for!!! I think I really need to sit down and study the specifications.

-Mike
×

Success!

Help @Wart_Hog 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.18,
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,
)...