gpt4 book ai didi

html -
的有效使用

转载 作者:太空狗 更新时间:2023-10-29 15:25:05 26 4
gpt4 key购买 nike

qblockquotecite 的使用是否有效?

<q>Life is what happens when you're busy making other plans</q>
<cite>John Lennon</cite>

<blockquote>Life is what happens when you're busy making other plans</blockquote>
<cite>John Lennon</cite>

最佳答案

快速回答:

<q>用于简短的在线报价。
<blockquote>用于引用中的“大”或分组元素。
<cite>归功于来源。

W3C HTML5 规范声明如下:

q

The q element represents some phrasing content quoted from another source.

Code example:
<p>The man said <q>Things that are impossible just take longer</q>. I disagreed with him.</p>

blockquote

The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a footer or cite element, and optionally with in-line changes such as annotations and abbreviations.
Code example:
<blockquote>
<p>I contend that we are both atheists. I just believe in one fewer god than you do. When you understand why you dismiss all the other possible gods, you will understand why I dismiss yours.</p>
<footer>— <cite>Stephen Roberts</cite></footer>
</blockquote>

cite

The cite element represents a reference to a creative work. It must include the title of the work or the name of the author(person, people or organization) or an URL reference, which may be in an abbreviated form as per the conventions used for the addition of citation metadata.
Code example:
<p><cite>Universal Declaration of Human Rights</cite>, United Nations, December 1948. Adopted by General Assembly resolution 217 A (III).</p>

关于html - <q>、<blockquote> 和 <cite> 的有效使用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17540671/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com