quotes property
8 | ||||
Specifies the pairs of quotation marks for the 'open-quote' and 'close-quote' values of the content property.
Note: The quotes property is supported in Internet Explorer from version 8.
JavaScript page for this property: quotes. You can find other example(s) there. |
Possible values:
One of the following values: | ||||||||||||||||||
|
Description of values:
String, represents the closing quotation mark. | |||||||
Takes the value of this property from the computed style of the parent element. | |||||||
Produce no quotation marks for the 'open-quote' and 'close-quote' values of the content property. | |||||||
String, represents the opening quotation mark. | |||||||
Pairs of quotation marks for the 'open-quote' and 'close-quote' values of the content property. |
Default: none.
Example HTML code 1:
This example illustrates the use of the quotes property:
|
||||
<head> <style> .example { quotes: "<" ">" "[begin]" "[end]"; } </style> </head> <body> <q class="example">This is a <q>quoted element</q> in an outer quoted element</q> </body> |
||||
|
||||
Did you find this example helpful?
|
Supported by tags:
a, abbr, acronym, address, b, bdo, big, blink, blockQuote, caption, center, cite, code, dd, del, dfn, dir, div, dl, dt, em, fieldSet, font, form, H1, H2, H3, H4, H5, H6, html, i, img, input:image, ins, isIndex, kbd, label, legend, li, listing, marquee, menu, nobr, ol, p, plainText, pre, q, rt, ruby, s, samp, select, small, span, strike, strong, sub, sup, table, td, textArea, th, tr, tt, u, ul, var, xmp
Related pages:
External links:
User Contributed Comments