HTML – Blockquote Element for Quotes

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 a element is usually indented from the left and right edges of the surrounding text, and some browsers uses 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

TutsMaster.org

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