📜  HTML blockquote标签

📅  最后修改于: 2020-11-04 00:51:20             🧑  作者: Mango

的HTML
标签

的HTML

标记用于定义从另一个来源引用的文本块。浏览器通常在其中显示内容
标记为缩进文本。

如果要插入长引号,请使用

对于简短或行内引用,请使用标记。

句法

quoted text......

以下是有关

标签

Display Block
Start tag/End tag Both start and End tag
Usage Semantic/textual




    Blockquote tag


    

Example of blockquote tag

A Great Motivational Quote :

At the end of the day, you are solely responsible for your success and your failure. And the sooner you realize that, you accept that, and integrate that into your work ethic, you will start being successful. As long as you blame others for the reason you aren't where you want to be, you will always be a failure.

Erin Cummings

输出:

标签




    Blockquote tag
   


    

Example of blockquote tag

A Great Motivational Quote:

At the end of the day, you are solely responsible for your success and your failure. And the sooner you realize that, you accept that, and integrate that into your work ethic, you will start being successful. As long as you blame others for the reason you aren't where you want to be, you will always be a failure.

-Erin Cummings

注意:我们使用CSS属性margin-right:25px来更改应用于文本的缩进。您还可以使用margin-left或margin速记属性。

输出:

属性

标签特定属性

Attribute value Description
citeHTML blockquote tag URL It is used to specify the URL of the source from where the quote is taken.

全局属性

标签支持HTML中的所有全局属性。

事件属性

标签支持HTML中的所有事件属性。

支持的浏览器

Element chrome browser Chrome ie browser IE firefox browser Firefox opera browser Opera safari browser Safari
Yes Yes Yes Yes Yes