References, references, and terminology definitions <ABBR><ACRONYM><ADDRESS><BDO><BLOCKQUOTE><Q><CITE><DFN >

Source: Internet
Author: User

<abbr>-abbreviation

<acronym>-First letter abbreviation

<address>-Address

<bdo>-Text Direction

<blockquote>--Long references

<q>-Short cited terms

<cite>-citations, citations

<dfn>-Defining items

<abbr> tags

Definition and Usage:

<abbr> tags indicate abbreviations or abbreviations, such as "WWW" or "NATO".

By tagging abbreviations, you can provide useful information for browsers, spell checking, and search engines.

The <abbr> tag was originally introduced in HTML 4.0, indicating that the text it contains is an abbreviated form of a longer word or phrase.

Hints and Notes

Tip: You can use the global Title property in the <abbr> tab to display the full version of the abbreviation/abbreviation when the mouse pointer moves over the <abbr> element.

Example:

The PRC is founded in 1949.

<title= "People ' s Republic of China">PRC</abbr > was founded in 1949.

<acronym> tags

Definition and Usage:

<acronym> tags are not supported in HTML5. Please use the <abbr> tag instead.

<acronym> tags define acronyms.

Abbreviations can be read as words, such as NATO, NASA, ASAP, GUI.

By tagging abbreviations, you can provide useful information for browsers, spell checking, and search engines.

Hints and Notes

Tip: The title property can be used to display an abbreviated full version when the mouse pointer moves over an element.

The difference between HTML 4.01 and HTML5

<acronym> tags are not supported in HTML5, but are supported in HTML 4.01.

<address> tags

Definition and Usage:

The <address> tag defines the contact information for the author/owner of the document or article.

If the <address> element is inside a <body> element, it represents the document contact information.

If the <address> element is within the <article> element, it represents the contact information for the article.

The text in the <address> element is usually rendered in italics. Most browsers add lines before or after the address element.

Hints and Notes

Tip the:<address> tag should not be used to describe a mailing address unless it is part of the contact information.

Tip The:<address> element is usually included in the <footer> element along with other information.

The difference between HTML 4.01 and HTML5

HTML 4.01 does not support <article> tags, so the,<address> tag in HTML 4.01 always defines the contact information for the author/owner of the document.

Example:

written by Donald Duck.
Visit us at:
example.com
Box 564, Disneyland
USA
<Address>written by<ahref= "Mailto:[email protected]">Donald Duck</a>.<BR>Visit us at:<BR>example.com<BR>Box 564, Disneyland<BR>USA</Address>

<bdo> tags

Definition and Usage:

The BDO element can override the default text orientation.

Property:

Dir: Define the direction of the text

  • Ltr (output from left to right) Here is some text
    <dir= "ltr">Here is some text</BDO  >
  • RTL (right-to-left output) Here is some text
    <dir= "RTL">Here is some text</bdo> 

<blockquote> tags

Definition and Usage:

The <blockquote> tag defines a block reference.

All text between <blockquote> and </blockquote> is separated from the regular text, often indented on the left and right sides (increasing margins), and sometimes using italics. In other words, block references have their own space.

Example:

Here comes a long quotation:

This is
a long quotation. This is a long quotation. This is a long quotation. This is a long quotation. This is a long quotation.

Note that the browser adds line breaks before and after the BLOCKQUOTE element, and adds margins.

 <  p  >  Here comes a long quotation:/<  p  >  <  blockquote  >  this is a long quotation. This is a long quotation. This is a long quotation. This is a long quotation. This is a long quotation.  </ blockquote  >  <  p  >  note that the browser adds line breaks before and after the BLOCKQUOTE element and adds margins. </ p  >  

Tips and comments:

Tip: Use the Q element to mark short references.

Note: If you want to validate a page as strict XHTML, the <blockquote> element must contain block-level elements, such as this:

Here are a long quotation here is a long quotation

Here are a long quotation here is a long quotation

< blockquote > < P >Here's a long quotation here is a long quotation</p></  blockquote><p>Here's a long quotation here is a long Quotation</p>

<q> tags

Definition and Usage:

The <q> tag defines a short reference.

The browser often adds quotation marks around the referenced content.

The difference between <q> and <blockquote>

<q> tags are essentially the same as <blockquote>. The difference is in their display and application. <q> tags are used for short inline references. If you need to separate the long sections from the surrounding content (usually shown as indented blocks), use the <blockquote> tab.

Tips and Comments:

Tip: According to the HTML 4.01 specification, the Q element should be rendered using delimited quotation marks, meaning that the text contained in the Q element must begin and end in quotation marks. Mozilla Browser (Firefox) and Opera comply with this rule, but Internet Explorer does not support this rule. As a result, if you want to use <q> tags and use your own quotation marks to satisfy Internet Explorer, use two sets of quotes in a standard-compliant browser. Nevertheless, we recommend the use of <q> tags, not only because we like the standard, but also because we foresee the application of this to document processing, information extraction and other aspects of the display effect.

Example:

Here comes a short quotation: The is a short quotation

Notice that the browser inserts quotation marks around the reference.

< P > < Q > This was a short quotation</q></p><P  > Note that the browser inserts quotation marks around the reference. </ P >

<cite> tags

Definition and Usage:

The <cite> tag usually represents a reference to a reference in the text it contains, such as the title of a book or magazine.

By convention, the referenced text is displayed in italics.

Use <cite> tags to separate references to other documents, especially those in traditional media, such as books, magazines, periodicals, and so on. If you refer to these documents with an online version, you should also include the references in a <a> tag to point a hyperlink to the online version.

The <cite> tag also has a hidden feature: it allows you or someone else to automatically extract the bibliography from the document. We can easily imagine a browser that can automatically organize reference tables and display them as footnotes or as separate documents. The semantics of <cite> tags far outweigh the effects of changing the appearance of the text it contains; It enables the browser to express the content of the document to the user in a variety of practical ways.

<dfn> tags

Definition and Usage:

<dfn> tags can mark those definitions of a particular term or phrase.

Popular browsers now often use italics to display text in <dfn>. Future,<dfn> may also help create an index or glossary of documents.

As with many other content-based styles and physical style labels,,<dfn> tags are as small as possible. As a common style, especially in technical documents, when the first new term is used, it should be separated from the normal text so that the reader can better understand the current topic of the article, and then do not mark the term any more.

References, references, and terminology definitions <ABBR><ACRONYM><ADDRESS><BDO><BLOCKQUOTE><Q><CITE><DFN >

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.