How to realize formatted quotation by html
This article mainly introduces html how to achieve formatted quotation, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let Xiaobian take you to understand.
You can easily format quotation mark blocks from other sources using HTML tags.
Block references are usually displayed with indented left and right margins, with some extra space above and below. Let's try an example to see how it works:
Try this code for example
Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning.
-Albert Einstein
Tip: the cite tag is used to describe a creative work for reference. It must contain the title of the work or the name of the author (person or organization) or a URL reference.
For short inline quotes, you can use the HTML tag. Most browsers display embedded quotation marks by enclosing text in quotation marks. This is an example:
Try this code for example
According to the World Health Organization (WHO): Health is a state of complete physical, mental, and social well-being.
Thank you for reading this article carefully. I hope the article "how to achieve formatted quotation in html" shared by the editor will be helpful to everyone. At the same time, I also hope that you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!