These two elements are used to define a quoted text.

<Blockquote> is used for longer quotations, block level content, while <q> is used for inline, shorter quotes.

Syntax:

<blockquote></blockquote>, <q></q>

Attributes:

Example

HTML quotation elements:

x
 
<html>
<head>
<title>HTML tutorial</title>
</head> 
<body>
<blockquote>
Blockquote element should wrap up a larger size quotes, that often stretch through multiple lines of text.
They are used, as said, for <q>inline content quotation</q> to visualize <q>inner or nested text</q>. 
</blockquote>
</body>
</html>

 

›› go to examples ››