HTML Quotation and Citation Elements

HTML Quotation and Citation Elements




The <q> element in the HTML page indicates that the text is a small inline quote. This element is for short excerpts, which does not require paragraph breaks. And for the long quotation you use the <blockquote> element.

HTML Quotation and Citation Elements

HTML for short quote <q>

The <q> element in the HTML document shows a brief quote.
Browsers usually put quotation marks around the <q> element but older browsers usually do not do this.
Example



<!DOCTYPE html> 
<html>      
<body>              
<p>webstudy</p>            
<p> goal is to: <q>Build a future where people live in harmony with nature.</q></p>
</body> 
 </html>


Result 
goal is to: Build a future where people live in harmony with nature.

HTML <blockquote> for quotation

The <blockquote> element in the HTML document shows a section cited from another source.

New browsers usually indent <blockquote> elements.
Example


<!DOCTYPE html> 
<html>     
<body>            
<p>Browsers usually indent blockquote elements.</p>          
<blockquote cite="http://www.worldwildlife.org/who/index.html"> For 50 years, WWF has been protecting the future of nature. </blockquote>    
</body> 
 </html>


Result 
For 50 years, WWF has been protecting the future of nature.



HTML <abbr> for abbreviations

In the HTML document <abbr> element summarizes or summarizes the name.

By using a shortened mark, the browser, translation system and search engine get useful information.
Example


<!DOCTYPE html> 
<html> 
<body>        
<p>The <abbr title="Webstudy">WHO</abbr> was make this site in 2018.</p>
 </body> 
 </html>


Result 
The WHO was make this site in 2018.



Contact information for HTML <Address>

The <address> element in the HTML document defines the contact information (author and owner) of a document or article.

The <Address> element in the HTML document is usually displayed in Italic.
Example


<!DOCTYPE html>
<html> 
<body>       
<address>      
Written by A.s.chundawat.<br>      
Visit us at:<br>      
www.webstudy.ooo<br>      
30001, rajsthan<br>      
IND.  
</address>
</body> 
</html>



Result 
Written by A.s.chundawat.
Visit us at:
www.webstudy.ooo
30001, rajsthan
IND.


HTML for Work Title <cite>

The <cite> element in the HTML document is used to define the title of a job.

These are usually displayed in italics in the browser.
Example


<!DOCTYPE html> 
<html> 
<body>     
<img src="webstudy.jpg" width="220" height="277" alt="The Scream">    
<p><cite>The site</cite> for web. started in 2018.</p>
 </body> 
 </html>





HTML for bi-directional override <bdo>

In the HTML document, the <bdo> element is used to define a two-directional override defined.
Use the <Bdo> element to override the current text direction:
Example


<!DOCTYPE html> 
<html> 
<body>        
<bdo dir="rtl">This line will be written from right to left</bdo>
 </body> 
 </html>


Result 
This line will be written from right to left

HTML Quotation and Citation Elements .The element in the HTML page indicates that the text is a small inline quote. This element is for short excerpts, which does not require paragraph breaks. And for the long quotation you use the

element.

Post a Comment

[blogger]

MKRdezign

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget