- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
How to indicate long quotations in an HTML document?
Use the <blockquote> tag to indicate long quotations. The HTML <blockquote> tag is used to include long quotations (i.e. quotations that span multiple lines). It should contain only block-level elements within it and not just plain text.
The following is the attribute −
Attribute | Value | Description |
---|---|---|
cite ![]() | URL | URL of the quote, if it is taken from the web. |
Example
You can try to run the following code to implement <blockquote> tag in an HTML document −
<!DOCTYPE html> <html> <head> <title>HTML blockquote Tag</title> </head> <body> <blockquote>Browsers generally render blockquote text as indented text. If your quoted text needs to display within a non-quoted paragraph, you should use the HTML q tag. Most browsers surround q text with quotation marks.</blockquote> <q>Browsers generally render blockquote text as indented text. If your quoted text needs to display within a non-quoted paragraph, you should use the HTML q tag. Most browsers surround q text with quotation marks.</q> </body> </html>
- Related Articles
- HTML Quotations
- How to create an HTML Document?
- How to add CSS rules into an HTML document
- How to include Modernizr in HTML document?
- Create editable content in an HTML document
- Include meta data in an HTML document
- How do we include a section in an HTML document?
- Including an external stylesheet file in your HTML document
- How to create a section in a document in HTML?
- How to create a hyperlink to link another document in HTML?
- How to indicate a potential word break point within a section in HTML?
- How do we add document title in HTML?
- How to send a cross-document message with HTML?
- What are the ways to include style sheet rules in an HTML document
- How to use the tag to define HTML document title?

Advertisements