HTML Quotation
HTML Quotation
Quotation are basically used for inserting the quoted texts in the HTML
HTML Quatation Tags List
Sr.No | Tag Name | Description |
---|---|---|
1 | <abbr> | Tells about abbreviation or acronym |
2 | <address> | Tells about contact information for the author/owner of a document |
3 | <bdo> | Tells About text direction |
4 | <blockquote> | Tells a section that is quoted from another source |
5 | <cite> | Tells the title of a work |
6 | <q> | Tells a short inline quotation |
Quatation Example
<html>
<head>
<title>Page Title</title>
</head>
<body>
<p>My name is <abbr title="rahul">rah</abbr>.</p>
<address> This Article is writtem by Rahul<br> you can reach us at:<br> Example.com<br> Lane 5,<br> Canada </address>
<p><bdo dir="rtl">This text will go right to left.</bdo></p>
<blockquote>This is online Tutorial </blockquote>
<p><cite>Rahul</cite> is good boy</p>
<p>I am Planning to <q>buy new car</q> </p>
</body>
</html>
blockquote Tag
The <blockquote> Tag tells about the section that is quoted from any another source
q Tag
The <q> Tag tells about short quote
abbr Tag
The <abbr> Tag tells about abbreviation like Dr.,Er,ASAP
Abbreviation gives information to the borwser and search engines.
Tip:Use the title Attribute to show the description for the abbr, when the mouse hover the element.
address Tag
The <address> Tag tells about contact information of the owner of the document
The contact information can be anything like email, phone, address, social media accounts URL etc. The Text inside the Address tag is in italic and browser adds line break
cite Tag
The <cite> Tag tells about the title of the document
The document can be anything like book, song, movie etc. The Text inside the cite tag is in italic
bdo Tag
The <bdo> Tag is used for overriding the text direction
BDO full form is Bi-Directional Override