The
Quotation components in hypertext markup language
The Quotation components in hypertext markup language square measure accustomed insert quoted texts in an exceedingly website, that is, portion of texts totally different from the traditional texts within the website.
Below square measure a number of the foremost used quotation components of HTML:
1. <q>
element:
<!DOCTYPE html>
<html>
<head>
<title>Quotations</title>
</head>
<body>
<h3>sayed 360 </h3>
<p> hello sayed
360<br></p>
<!--Inside quotes-->
<p><q>hello sayed
360</q></p>
</body>
</html>
Output:
2. <blockquote> element:
<!DOCTYPE html>
<html>
<head>
<title>Blockquote</title>
</head>
<body>
<h3>sayed 360</h3>
<p>hello sayed 360<br></p>
<!--Inside blockquotes-->
<p><blockquote>hello sayed 360</blockquote></p>
</body>
</html>
<html>
<head>
<title>Blockquote</title>
</head>
<body>
<h3>sayed 360</h3>
<p>hello sayed 360<br></p>
<!--Inside blockquotes-->
<p><blockquote>hello sayed 360</blockquote></p>
</body>
</html>
No comments:
Post a Comment