Home > Web Front-end > HTML Tutorial > Detailed explanation of the use of tag in html

Detailed explanation of the use of tag in html

黄舟
Release: 2017-06-20 15:26:48
Original
8391 people have browsed it

cite in Chinese means "citation", which usually means that the text it contains refers to a reference, such as the title of a book or magazine. The quoted text will be displayed in italics. If you do not want Display italics, which can also be set through CSS styles.

In HTML 4.01, the cite tag defines a reference. In HTML5, the cite tag defines the title of the work, such as: movies, songs, books, TV shows, film and television series, magazines, Journals, etc.; it is important to note that the person's name does not represent the title of the work. The

cite tag also has a hidden function: it allows you or others to automatically extract a bibliography from the document. We can easily imagine a browser that can automatically organize citation tables and display them as footnotes or separate documents. The semantics of the cite tag go far beyond changing the appearance of the text it contains; it enables the browser to express the document's content to the user in a variety of practical ways. The tag usually indicates that the text it contains refers to a reference, such as the title of a book or magazine. By convention, quoted text will appear in italics.

Use the tag to isolate citations to other documents, especially those in traditional media such as books, magazines, journals, etc. If there is an online version of the referenced document, you should also include the reference in an tag, thereby providing a

hyperlink

to the online version. The tag also has a hidden function: it allows you or others to automatically extract a bibliography from the document. We can easily imagine a browser that automatically organizes tables of citations and displays them as footnotes or separate documents. The semantics of a

tag goes far beyond changing the appearance of the text it contains; it enables the browser to express the document's content to the user in a variety of practical ways. Can anyone give an example of application in a web page? It needs to be a classic example and the effect can be really seen. If it is a simple italic effect, use It can be realized. I checked a lot of information on the Internet and copied it without any application examples.

cite

Attribute

-- Represents the URI of the citationExample

<blockquote cite="http://www.dreamdu.com/xhtml/">    
<p>标准网页设计要区分内容与表现,学习标准网页设计.</p>
</blockquote>
Copy after login

The above is the detailed content of Detailed explanation of the use of tag in html. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template