Posts in current category

HTML5 and blockquote and tags


May 03, 2021 13:15 HTML5


Table of contents


HTML5 and blockquote are used to refer to large blocks of content, and the text within the label is separated and automatically indented. Try the following block reference example in detail:

Define a block reference from another source:

<blockquote cite="http://www.worldwildlife.org/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>
Try it out . . .

Browser support

HTML5 and blockquote and tags HTML5 and blockquote and tags HTML5 and blockquote and tags HTML5 and blockquote and tags HTML5 and blockquote and tags

All major browsers support the hashtags.


Label definition and instructions for use

The label definition is extracted from a block reference from another source.

Browsers typically indent the elements of the .lt;blockquote.


Tips and comments

Tip: If the tag is a short reference that does not require paragraph separation, use the .


The difference between HTML 4.01 and HTML5

In HTML 4.01, the label defines a long reference.

In HTML5, the label definition is taken from a block reference from another source.


The difference between HTML and XHTML

Note: To validate a page as XHTML, the element must contain block-level elements, such as:

<blockquote>
<p>Here is a long quotation here is a long quotation.</p>
</blockquote>

Property

Property Value Describe
cite Url Specify the source of the reference.


If the citation originates from the network, you can set the origin URL address of the original content to the <cite> and to inform the reader of the source of the citation in text, you can do so through the element.

Global properties

The label supports the global properties of HTML.


The event property

The label supports the event properties of HTML.

The above is the HTML5 and blockquote and tag related content, you can be proficient in the use of the tag in the learning process!