986 B
986 B
Quotes
With more sophisticated CSS you can greatly enhance your website’s typography, an aspect that lots of people overlook. For instance, did you know that the quotation marks you are writing in your code are actually “primes” which are used for measurements and coordinates? When using “q” tags in HTML for quotations, you can automatically insert proper quotation marks (so-called smart quotes) before and after the quotation.
HTML
<q> CSS is awesome! </q>
CSS
q {
quotes: "“" "”";
}
Demo
CSS is amazing!
Explanation
quotes: "“" "”";quotes CSS property indicates how user agents should render quotation marks.
Browser support
94.5%<