Droid
Would you like to react to this message? Create an account in a few clicks or log in to continue.

HTML QUOTES

Go down

HTML QUOTES Empty HTML QUOTES

Post by Admin Sun Aug 30, 2015 9:19 pm

Quotation


Here is a quote from WWF's website:
For 50 years, WWF has been protecting the future of nature. The world's leading conservation organization, WWF works in 100 countries and is supported by 1.2 million members in the United States and close to 5 million globally.



HTML <q> for Short Quotations

The HTML <q> element defines a short quotation.
Browsers usually insert quotation marks around the <q> element.




Example



Code:
<p>WWF's goal is to: <q>Build a future where people live in harmony with nature.</q></p>







HTML <blockquote> for Long Quotations

The HTML <blockquote> element defines a quoted section.
Browsers usually indent <blockquote> elements.




Example



Code:
<p>Here is a quote from A website:</p>
<blockquote cite="http://www.droid.1talk.net/who/index.html">



For 50 years, WWF has been protecting the future of nature.
The world's leading conservation organization,
WWF works in 100 countries and is supported by
1.2 million members in the United States and
close to 5 million globally.
</blockquote>






HTML <abbr> for Abbreviations

The HTML <abbr> element defines an abbreviation or an acronym.
Marking abbreviations can give useful information to browsers, translation systems and search-engines.




Example



Code:
<p>The <abbr title="World Health Organization">WHO</abbr> was founded in 1948.</p>





HTML <dfn> for Definitions

The HTML <dfn> element defines the definition of a term or an abbreviation.
The usage of <dfn>, as described in the HTML5 standard, is complicated:
1. If the title attribute of the <dfn> element is present, it defines the term:




Example



Code:
<p>The <dfn title="World Health Organization">WHO</dfn> was founded in 1948.</p>





2. If the <dfn> element contains an <abbr> element with a title, then that title defines the term:




Example


<p>The <dfn><abbr title="World Health Organization">WHO</abbr></dfn> was founded in 1948.</p>

3. Otherwise, the <dfn> text content is the term, and the parent element contains the definition.




Example



Code:
<p>The <dfn>WHO</dfn> World Health Organization was founded in 1948.</p>





HTML <address> for Contact Information

The HTML <address> element defines contact information (author/owner) of a document or article.
The element is usually displayed in italic. Most browsers will add a line break before and after the element.


Example



Code:
<address>
Written by Jon Doe.<br> 
Visit us at:<br>
Example.com<br>
Box 564, Disneyland<br>
USA
</address>





HTML <cite> for Work Title

The HTML <cite> element defines the title of a work.
Browsers usually displays <cite> elements in italic.




Example



Code:
<p><cite>The Scream</cite> by Edward Munch. Painted in 1893.</p>







HTML <bdo> for Bi-Directional Override

The HTML <bdo> element defines bi-directional override.
If your browser supports bdo, this text will be written from right to left:


Example



Code:

<bdo dir="rtl">This text will be written from right to left</bdo>

Admin
Admin
Admin
Admin

Posts : 83
Points : 31987
Reputation : 3
Join date : 2015-07-22

https://droid.1talk.net

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum