【问题标题】:What goes inside of an html blockquote tag to indicate the author? [duplicate]html blockquote 标记中包含什么来指示作者? [复制]
【发布时间】:2017-06-08 00:47:56
【问题描述】:

我有一个块引用标签,我可以在其中放入作者姓名的语义标签吗?例如:

<blockquote>Anyone who has neber made a mistake has never tried anything new 
-<author>Einstein</author>
</blockquote>

&lt;author&gt;不是真正的html标签,有合适的标签吗?

【问题讨论】:

    标签: html semantic-markup blockquote


    【解决方案1】:
        <blockquote>Anyone who has neber made a mistake has never tried anything new -
     <cite>Einstein</cite>
        </blockquote>
    

    【讨论】:

    • 谢谢你的回答,但根据html 5医生cite is to refer to a person, generally in connection with some reference or as the source of a quote: &lt;!-- Not valid usage of cite in HTML5! --&gt; &lt;p&gt;As &lt;cite&gt;George R. R. Martin&lt;/cite&gt; wrote in…&lt;/p&gt;
    • @TheGamer 如果我记得,在 HTML5 Doctor 上,您会在某个地方看到同样的问题得到解答。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2020-10-01
    • 1970-01-01
    • 1970-01-01
    • 2014-01-02
    • 1970-01-01
    • 2017-02-04
    相关资源
    最近更新 更多