HTML Quotes

HTML quotes are used to put a short quotation on your website. To do so, you need to use HTML q tag and HTML blockquote tag.

HTML q tag

HTML q tag is used to put small quotation. To do so, write your text within <q>………….</q> tag.

<p> Great quote on love and life.</p>  

<p> Dr. Seuss once said : <q>Reality is finally better than your dreams.</q></p>

Output:

Great quote on love and life.

Dr. Seuss once said : Reality is finally better than your dreams.

HTML blockquote tag

HTML blockquote tag is used to define a large quoted section. If you have a large quotation then put the entire text within <blockquote>………….</blockquote> tag.

<p> Read this inspirational story.</p>  

<blockquote> According to scientists, the bumblebee's body is too heavy and its wing span too   

small. Aerodynamically, the bumblebee cannot fly. But the bumblebee doesn't know that and it   

keeps flying. When you don't know your limitations, you go out and surprise yourself. In hindsight, you   

wonder if you had any limitations. The only limitations a person has are those that are self-  

imposed. Don't let education put limitations on you.</blockquote>

Output:

Read this inspirational story.

 According to scientists, the bumblebee’s body is too heavy and its wing span too small. Aerodynamically, the bumblebee cannot fly. But the bumblebee doesn’t know that and it keeps flying. When you don’t know your limitations, you go out and surprise yourself. In hindsight, you wonder if you had any limitations. The only limitations a person has are those that are self- imposed. Don’t let education put limitations on you.

Supporting Browsers

Elementchrome browser Chromeie browser IEfirefox browser Firefoxopera browser Operasafari browser Safari
<q> and <blockquote>YesYesYesYesYes

HTML Tags which are used in Quotations and Citation

TagDescription
<abbr>It defines the abbreviation or an acronym.
<address>It is used to define the contact information of the document writer.
<bdo>It defines the direction of the text.
<blockquote>It is used to define a section that is quoted from another source.
<q>It is used to put the small quotations.
<cite>It defines the title of source from where quotation or work is taken.
<define>It is used to define a definition term.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *