'

J

Jukka K. Korpela

Scripsit Desmond:
Is there an escape sequnce for the above.

The above _what_? It's bad style to refer to a heading inside text (in a
Usenet message as well as in HTML documents).
w3c recects the statment I
didn't do that

What are you talking about?

So? There are many pages that describe the same things, without
advertisements and without the typos.

The Ascii apostrophe ' can be written as ' in HTML. If used, you must
not write spaces around it unless you want actual spaces to appear there.
Thus, writing
didn ' t
would result it
didn ' t
whereas
didn't
gives
didn't.

But you don't need ', because you can write the character ' as such. If
you have got an error message that seems to say something different, then
you probably have the apostrophe inside a string delimited by apostrophes,
and _then_ you need to do something, like changing the apostrophe delimiters
to Ascii quotes, ". As usual, a URL would have shown what you are really
talking about.

So you don't need ' either. For completeness, though: ' is an
entity reference that means ' and belongs to XHTML but not to HTML 4.01.

On the other hand, nowadays the web is reasonably safe for the use of
typographically correct characters, so you can write
didn’t
or you can write a typographer's apostrophe directly if a) you know how to
do that and b) you are using an encoding that has a representation for it,
e.g. UTF-8 (or windows-1252, but then you need to wear a flame-proof suit).
 
D

Desmond

Scripsit Desmond:


The above _what_? It's bad style to refer to a heading inside text (in a
Usenet message as well as in HTML documents).


What are you talking about?



So? There are many pages that describe the same things, without
advertisements and without the typos.

The Ascii apostrophe ' can be written as ' in HTML. If used, you must
not write spaces around it unless you want actual spaces to appear there.
Thus, writing
didn ' t
would result it
didn ' t
whereas
didn't
gives
didn't.

But you don't need ', because you can write the character ' as such. If
you have got an error message that seems to say something different, then
you probably have the apostrophe inside a string delimited by apostrophes,
and _then_ you need to do something, like changing the apostrophe delimiters
to Ascii quotes, ". As usual, a URL would have shown what you are really
talking about.

So you don't need ' either. For completeness, though: ' is an
entity reference that means ' and belongs to XHTML but not to HTML 4.01.

On the other hand, nowadays the web is reasonably safe for the use of
typographically correct characters, so you can write
didn’t
or you can write a typographer's apostrophe directly if a) you know how to
do that and b) you are using an encoding that has a representation for it,
e.g. UTF-8 (or windows-1252, but then you need to wear a flame-proof suit).

Sorry what i ment was, I wasn't using quotes as they would show in the
page
<td>This isn't working</td> so the Apostraphy is causing an error.

Desmond.
 
J

Jukka K. Korpela

Scripsit Desmond:

Apologies are irrelevant; fix your posting style instead. Hints:
http://www.cs.tut.fi/~jkorpela/usenet/dont.html
what i ment was, I wasn't using quotes as they would show in the
page

What are you talking about quotes? And why shouldn't they show in the page?
<td>This isn't working</td> so the Apostraphy is causing an error.

It surely causes no error in HTML in such markup. It's not the
orthographically correct character, but that's irrelevant from the HTML
perspective.

Did you understand a word of what I wrote? Fullquoting is the usual sign of
cluelessness, i.e. not understanding comprehensively, but you seem to have
missed _everything_.

The odds are that you are using some program code to generate HTML markup
and that code uses the Ascii apostrophe as a string delimiter. In that case,
my previous message would help you to solve the problem. But you actually
need to read it and to comprehend it; fullquoting it doesn't help.
 
D

Desmond

Scripsit Desmond:


Apologies are irrelevant; fix your posting style instead. Hints:http://www.cs.tut.fi/~jkorpela/usenet/dont.html


What are you talking about quotes? And why shouldn't they show in the page?


It surely causes no error in HTML in such markup. It's not the
orthographically correct character, but that's irrelevant from the HTML
perspective.

Did you understand a word of what I wrote? Fullquoting is the usual sign of
cluelessness, i.e. not understanding comprehensively, but you seem to have
missed _everything_.

The odds are that you are using some program code to generate HTML markup
and that code uses the Ascii apostrophe as a string delimiter. In that case,
my previous message would help you to solve the problem. But you actually
need to read it and to comprehend it; fullquoting it doesn't help.

I do understand fully
<td>This isn't working</td> so the Apostraphy is causing an error.
This is perfectly acceptable in HTML but tell that to w3c

<table align="center"> and <div align="center"> also works fine but
not in w3c
 
J

Jonathan N. Little

Desmond said:
I do understand fully
<td>This isn't working</td> so the Apostraphy is causing an error.
This is perfectly acceptable in HTML but tell that to w3c

<table align="center"> and <div align="center"> also works fine but
not in w3c

What The validator? Nothing wrong with apostrophes!

http://validator.w3.org/check?verbo...studio.com/temp/usenet/alt.html.20070422.html
Result for
http://www.littleworksstudio.com/temp/usenet/alt.html.20070422.html -
W3C Markup Validator


http://www.littleworksstudio.com/temp/usenet/alt.html.20070422.html
Apostrophes are Okay!
 
S

Steve Pugh

Desmond said:
I do understand fully
<td>This isn't working</td> so the Apostraphy is causing an error.
This is perfectly acceptable in HTML but tell that to w3c

Post a URL. Because an apostrophe character is valid in text in all
versions of HTML. So something else must be going on here. Which means
we need to see the whole page, and the HTTP headers coming from your
server, in order to determine what exactly.
<table align="center"> and <div align="center"> also works fine but
not in w3c

The W3C validator (indeed any proper validator) has nothing to do with
whether something "works fine" or not, but everything to do with
whether it follows the formal syntax or not.

Depends on the doctype. Those are valid in the Transitional forms of
HTML 4.01 and XHTML 1.0 but not in the Strict forms, where all such
presentational clutter should be moved to CSS.

Steve
 
B

Bergamot

Desmond said:
I do understand fully

No, you don't seem to get the part about full quoting. At least you're
not top-posting. :-\

Trim your posts so only the parts you're responding to remain.
<td>This isn't working</td> so the Apostraphy is causing an error.
This is perfectly acceptable in HTML but tell that to w3c

No, what you have written there is perfectly valid. That's either *not*
what's on the actual page, or you are omitting information that would
tell us the whole story.

If you're using that curly "smart" quote character that word processors
usually insert, that is not the same as the single 'tick' character and
is invalid except with encodings like Windows-1252, or if you use entity
’ instead. Mr Korpela already told you this.

Actually, it is entirely possible that the quote characters are not the
problem at all. A validation error in one place can easily result in
errors elsewhere that don't really exist. Fix the *real* error, and the
others disappear.

Post a URL if you expect to get an answer that isn't purely speculative.
 
C

Chris F.A. Johnson

<td>This isn't working</td> so the Apostraphy is causing an error.
This is perfectly acceptable in HTML but tell that to w3c

It is perfectly acceptable to the w3c; try validating this:
<http://cfaj.freeshell.org/testing/strict.html>

Perhaps you are not using an apostrophe, but one of the weird
characters that some MS apps use instead?
<table align="center"> and <div align="center"> also works fine but
not in w3c

It works, but is deprecated. If you use a transitional doctype, it
will validate (but not with "center").

<http://cfaj.freeshell.org/testing/transitional.html>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,281
Latest member
Pedroaciny

Latest Threads

Top