Live Batches
Masterclasses
Menu
Free Courses
Account
Login / Sign Up
HTML Quotations

HTML Quotations

Advanced 2 min read 17 Sep 2025 3.53K views
HTML Quotations

HTML Quotations

The HTML Quotations creates quotations in HTML. The <q> tag defines a short quotation. It is a block-level element and HTML <blockquote> tag defines a section that is quoted from another source. It is also a block-level element.

80% of entry-level web development jobs require HTML proficiency. Enroll now in our Free HTML Course with Certification to stand out!

Syntax

Following is the syntax −

<q>quote</q>

Or

<blockquote>quote</blockquote>

Example

Let us see an example of HTML Quotations −

<!DOCTYPE html>
<html>
<head>
 <title>Quotations</title>
</head>
<body>
 <h3>ScholarHats</h3>
<p>We are learning HTML Quotations<br></p>
 <!--Inside quotes-->
<p><q>We are going to learn even more</q></p>
</body>
</html>

Output

Summary

In HTML, quotations are used to indicate quoted or attributed text within an HTML document. This article helps us to learn what are HTML Quotations and how we can use it.

Read More:- HTML Interview Questions and Answers

Test yourself in 5 minutes

Take the free Html skill challenge to see your strengths and the gaps to fix next.

Start the challenge
Share LinkedIn X Facebook WhatsApp

About the author

Sakshi Dhameja

Sakshi Dhameja

Author and Mentor

She is passionate about different technologies like JavaScript, React, HTML, CSS, Node.js etc. and likes to share knowledge with the developer community. She holds strong learning skills in keeping herself updated with the changing technologies in her area as well as other technologies like Core Java, Python and Cloud.

Keep learning

Courses that go with this tutorial