Results 1 to 4 of 4

Thread: How to use an apostrophe so it is valid for xhtml?

  1. #1
    Join Date
    Oct 2007
    Posts
    136

    Default How to use an apostrophe so it is valid for xhtml?

    Hello,

    I am trying to use an apostrophe in the titles and texts on my sites, but I can not get it xhtml valid.


    Does anyone know how to write words with an apostrophe like " Sauze D' Oulx " so it is xhtml valid?

    I tried " Sauze D'' Oulx " but that does not seem to be right...

    Thanks and regards,

    Wessel

  2. #2
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    D'&apos; <- incorrect

    D&apos; <- correct

    You were close, but you were doing it twice

  3. #3
    Join Date
    Oct 2007
    Posts
    136

    Default

    Hi Bruce,

    Thank you for your advice. If I use it in my categories, then it shows up as Cortina D&apos; Ampezzo on the site; so the code is visible. Maybe I am thinking wrong and is xhtml not needed in category titles and keywords?

    Thanks,
    Wessel

  4. #4
    Join Date
    Jun 2002
    Location
    Winnipeg Canada
    Posts
    4,913

    Default

    xhtml is needed across the entire site

    Try using the following instead and see if that works

    &# 39; <- without the space

    If I put the space in there it parses it as an apostrophe
    Last edited by Bruceper; 01-20-2008 at 11:46 AM.

Similar Threads

  1. i need an invoice with a valid vat code
    By jarp-u in forum Pre-Sales Questions
    Replies: 3
    Last Post: 09-18-2006, 07:48 PM
  2. Replies: 3
    Last Post: 01-03-2006, 08:29 PM
  3. Replies: 9
    Last Post: 01-16-2005, 01:51 PM
  4. include() no longer a valid statement
    By NiteOwl in forum Indexu Lite
    Replies: 1
    Last Post: 10-10-2003, 07:38 PM
  5. How long is the license valid for?
    By Veg in forum Pre-Sales Questions
    Replies: 1
    Last Post: 04-28-2002, 08:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •