CSS: quotes

Tutoring web design, there are always new features to discover. The tutor mentions the CSS quotes property.

Let’s imagine you aren’t satisfied, for whatever reason, with regular quotation marks. For example, instead of

“I love pink jeans!”

you want to print

I love pink jeans!

Well, you can set the quotes to the club icon by enclosing the text in a q element, then applying the quotes style:

<q style=”quotes:’\2663′ ‘\2663′”>text in quotes</q>

Then, you can achieve the quotation marks you’ve really wanted all along:

I love pink jeans!

Nifty, eh?



Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Tagged with: ,

Leave a Reply