This property is used to specify the quotation mark for quotations used in the sentence.
Syntax:
quotes: none|string;
Property:
- none: It is the default value. It will not produce any quotations mark.
Syntax:quotes:none;
Example:
<!DOCTYPE html>
<
html
>
<
head
>
<
style
>
#geeks {
quotes:none;
}
</
style
>
</
head
>
<
body
>
<
center
>
<
h1
style
=
"color:green;"
>GeeksForGeeks</
h1
>
<
h2
style
=
"color:green;"
>quotes:none;</
h2
>
<
p
><
q
id
=
"geeks"
>geeksforgeeks.</
q
></
p
>
</
center
>
</
body
>
</
html
>
Output:
- string: This property is used to specify that what type of quotation mark should be used in the sentence. The first two values indicate first level of Quotation mark. The second two values indicates second level of quotation mark.
Syntax:
quotes:string;
Example:
<!DOCTYPE html>
<
html
>
<
head
>
<
style
>
#geeks {
quotes:'‹' '›';
}
#gfg {
quotes:'«' '»';
}
#sudo {
quotes:'‹' '›' '«' '»' ;}
#g {
quotes:'‘' '’' ;}
#f {
quotes:'”' '„';
}
#for {
quotes:'2039' '203A';
}
#data {
quotes:'''00AB' '