[bcab] Re: html coding and entities

Hi again Colin,
 
You can just use the standard apostrophe unless your phrase is enclosed
in a set of apostrophes itself.
 
Consider the following mark-up:
 
<p>Colin wants to say 'Extreme Adventurous's'</p>
 
This has three apostrophes in the text which will confuse browsers in to
thinking that the s after the second one is outside the text and that
</p> is part of a second piece of text.  Consequently, the result could
be garbled.
 
We could, though, write the line in a valid way as follows:
 
<p>Colin wants to say 'Extreme Adventurous&rsquo;s'</p>
 
When we enter quotes or apostrophes from the keyboard, they are
considered to be opening or closing marks depending upon the context.
The entities for these marks have been given left and right properties
to permit nesting in the same way that brackets etc. can be used.
 
Regards,
 
Phil Medway

 

ICT accessibility developer

 

Deployment team

 

Core ICT

 

Oxfordshire County Council


 

<http://www.oxfordshire.gov.uk <http://www.oxfordshire.gov.uk/> >

 

Tel: 01869 347639

 

Mobile: 07980 519990

 

Save money and paper - do you really need to print this email?  


 

________________________________

From: bcab-bounce@xxxxxxxxxxxxx [mailto:bcab-bounce@xxxxxxxxxxxxx] On
Behalf Of Colin Fowler
Sent: 25 February 2009 07:09
To: bcab@xxxxxxxxxxxxx
Subject: [bcab] html coding and entities


 
Can I just clarify something from my post of yesterday, I want to write
Extremely Adventurous's in my html content, so is that achieved as 
<p>Extreme Adventurous&rsquo;s</p> as the only way of placing that
apostrophe to demark the plural of Adventurous, or can I write it using
a standard apostrophe <p> Extremely Adventurous's</p>
 
Thanks for everyone's help.
 
Colin Fowler
 

This email, including attachments, may contain confidential information. If you 
have received it in error, please notify the sender by reply and delete it 
immediately. Views expressed by the sender may not be those of Oxfordshire 
County Council. Council emails are subject to the Freedom of Information Act 
2000. http://www.oxfordshire.gov.uk/emaildisclaimer

Other related posts: