The question is very simple and objective, I want to have a font style for the paragraph and another style that font for the quotes, however when I put the content between the tag <q>
what's inside takes the font-family
of <q>
and loses the font-family of <p>
.
For clarity, see the example.
p {
font-size: 32px;
font-family: serif;
}
q {
font-family: sans-serif;
}
<p>Lorem ipsum dolor sit amet consectetur, <q>adipisicing elit</q>. Ipsum, quas.</p>
The part of the text that is surrounded by the <q>
tag is with the font-family other than <p>
, but I want only the quotation marks, not the whole text from within the
I do not want to use direct quotes in the text body, it has to be with the tag <q>
, this would not have value ok ... "texto" ...
How can I solve this problem semantically using the <q>
tag and so that I can reuse it in other parts of the text?