📜  如何在 HTML 中显示长引号?

📅  最后修改于: 2022-05-13 01:56:54.575000             🧑  作者: Mango

如何在 HTML 中显示长引号?

在本文中,我们将讨论显示长引号的标签。

HTML 中的

标记用于显示长引用(从另一个来源引用的部分)。它改变了对齐方式,使其与众不同。它包含开始和结束标签。在块引用标签中,我们可以使用标题、列表、段落等元素。

注意: HTML4.1 中的

标签定义了长引用,即跨越多行的引用。但在 HTML5 中,
标签指定了从其他来源引用的部分。

句法:

Contents...

属性:它包含一个属性引用,用于指定引用的来源。

以下示例说明了 blockquote 标签:

示例 1:

HTML


  

    

GeeksforGeeks

       

        
Tag     

         
        HTML stands for HyperText Markup          Language. It is used to design          web pages using a markup language.         HTML is the combination of Hypertext          and Markup language. Hypertext          defines the link between the web          pages. A markup language is used          to define the text document within         tag which defines the structure          of web pages.     
       


HTML


  

    

GeeksforGeeks

    

Tag

    

This is blockquote Tag text with attribute cite

                
        GeeksforGeeks:A computer science portal for geeks     
       


输出:

示例 2:

HTML



  

    

GeeksforGeeks

    

Tag

    

This is blockquote Tag text with attribute cite

                
        GeeksforGeeks:A computer science portal for geeks     
       

输出