We help IT Professionals succeed at work.

Quoting quotes in a meta description tag

steva
steva asked
on
Medium Priority
292 Views
Last Modified: 2012-05-12
I want to include a quote in a meta description tag.  For example:

<meta name="description" content = "The best site for cameras.  \"I love  this site! \"- Louis Allen " />

When Google pulls this out I'd like to see a SERP entry of
 
    The best site for cameras.  "I love this site!" - Louis Allen

I can think of serveral ways that might work - \"  ,  &quote;  ,  <q> , using single outside quotes and double inside quotes -  but I'd rather not have to wait for Google to recrawl the page to see what they accept.   So does someone know what will work here?

Thanks for your input.

Steve  
Comment
Watch Question

Top Expert 2013
Commented:
<meta name='description' content = 'The best site for cameras.  "I love  this site!"- Louis Allen ' />

Double quotes inside of single quotes.
CERTIFIED EXPERT
Commented:
This depends on your DOCTYPE, but I would go with
\"

M@RS

Author

Commented:
I have a feeling they'll both work.  I went with double quotes inside of single quotes.  We'll see what happens after Google crawls the page again.

Thanks.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.