Today they are an integral part of any more or less serious Internet project, and even one-page websites will insert something like that in the form. Insert, we are all good at this, but many have problems with formatting quotes. First of all, the purpose of quoting is to attract the visitor’s attention by imprinting a smart thought, your own or someone else’s. Some people just use italic text, others use ready-made templates. A common type of quotation is italic text or quotation mark background. Here everything depends on the irrepressible imagination of “people”. In WordPress, citations are generated automatically and are determined by the style of your template. Or with the help of an excellent plugin: . If you have a thematic blog and you want to emphasize your point in an article, then highlighting words using this plugin will undoubtedly attract the reader’s attention, and it looks beautiful. Everything is clear with WordPress, we are interested in how to format a quote on an HTML page if it is not possible to use third-party products. If you don’t want to bother with pictures, then you can easily get by with the design using CSS: Make a frame or simply separate the text with a dotted border. Let's finally look at some examples of how to format a quote using CSS code.
Example 1:
The color of the text does not need to be brighter, because 2 borders - an upper and a lower one with a width of 3 pixels - will noticeably highlight the quote.
This option is good not only for quotes, but also, for example, for highlighting code, download links, etc...
Example 3:
Risky option. Perfect for cases where the quote must definitely attract the reader's attention, urging him to do something, or, on the contrary, not to do something.
Well, a very simple way to design a quote, only thanks to the slanted font style Georgia, the text is given some stylization and you will probably want to read it.
“Everyone has the same God – the providers are different.”
You've looked at the examples, now make your choice and move forward. Add the CSS code accordingly to your styles file .css When writing some imperishable thought, just surround it with blockquote tags and admire the result, satisfied with yourself.
Tell us, how do you format quotes on your blog, or is it enough for you how they were originally designed in your theme template?
Best regards, Andrey
The element definition has been changed
And . This article explains what this means for developers.
Changes in definition
Element
represents content that is a quote from another source, Maybe, including a mention of this source, which there must be placed inside elements
Did you like the article? Share with your friends!