Web Development

HTML – Blockquote Element for Quotes

TML <blockquote> Element

When you want to quote a passage from another source, you should use the <blockquote> element.

HTML Code

<p>Words by Neil Patel. </p>
<blockquote>Going above and beyond involves making customers "feel special" and helping them out even when it may not make sense.</blockquote>

HTML Output

Words by Neil Patel. 

Going above and beyond involves making customers “feel special” and helping them out even when it may not make sense.

Text inside an element is usually indented from the left and right edges of the surrounding text, and some browsers use an italicized font.

Cite attribute with <blockquote> element.

You can use the cite attribute on the <blockquote> element to indicate the source of the quote.  The value of the cite attribute is the URL. 

HTML Code

<blockquote cite='http://ansmachine.blogspot.com/'>HTML Tutorial for All</blockquote>

HTML Output

HTML Tutorial for All

Tuts

About Author

Tutsmaster.org provides tutorials related to tech and programmings. We are also setting up a community for the users and students.

You may also like

HTML introduction
Web Development

HTML – Introduction, History & Syntax

  • December 21, 2019
So, first of all, I would like to ask a question for the first time when you heard this term
html heading tag
Web Development

HTML – Heading Tag With Syntax

  • December 21, 2019
A heading tag is one of the most important tags we focus on in HTML or web development because, without