You are here: Re: ' « HTML « IT news, forums, messages
Re: '

Posted by Desmond on 04/22/07 08:13

On 21 Apr, 22:45, "Jukka K. Korpela" <jkorp...@cs.tut.fi> wrote:
> 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?
>
> > the website below sugests didn &#39; t
>
> >http://www.theukwebdesigncompany.com/articles/entity-escape-character...
>
> So? There are many pages that describe the same things, without
> advertisements and without the typos.
>
> The Ascii apostrophe ' can be written as &#39; in HTML. If used, you must
> not write spaces around it unless you want actual spaces to appear there.
> Thus, writing
> didn &#39; t
> would result it
> didn ' t
> whereas
> didn&#39;t
> gives
> didn't.
>
> But you don't need &#39;, 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 &apos; either. For completeness, though: &apos; is an
> entity reference that means &#39; 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&#8217;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).
>
> --
> Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/

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.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация