HTML5块与作者 [英] HTML5 block-quote with author
问题描述
你好我看到了很多不同的方式来实现html中的 blockquote
,但是在它的文档中看起来并不清楚我应该如何格式化一个 blockquote
我们可以说 的一个着名的引用和metion其作者喜欢:
拿破仑·波拿巴拿破仑·波拿巴
在胜利中,你应该得到香槟,在失败中,你需要它。
HTML5中正确的格式是什么?
如果作者在 blockquote之内或之外 code>标签?
它应该在 cite
属性中吗? (即使知道文档指定了一个URI,而不是作者) 解决方案
http://neilpie.co.uk/2011/12/13/html5-quote-attribution/ <例如,使用
< small class =author> ;拿破仑·波拿巴< small>
HTML 5文档说:小版本通常包含免责声明,警告,法律限制或版权。打印有时也用于归属,或者用于满足许可要求。
Hi I'm seeing a great number of different ways to implementat blockquote
in html but it doesn't seem clear in its documentation how should I properly format a blockquote
let's say of a famous quote and metion its author like:
In victory, you deserve Champagne, in defeat, you need it.
Napoleon Bonaparte
What would the correct format of that be in HTML5?
Should the author be inside or outside the blockquote
tag?
Should it be inside the cite
attribute? (even knowing the documentation specifies an URI , not author)
http://neilpie.co.uk/2011/12/13/html5-quote-attribution/
For example, use
<small class="author">Napoleon Bonaparte<small>
HTML 5 documentation says, "Small print typically features disclaimers, caveats, legal restrictions, or copyrights. Small print is also sometimes used for attribution, or for satisfying licensing requirements."
这篇关于HTML5块与作者的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!