[英]Correct Semantic tag for copyright info - html5
What would be the best and most semantic tag/method for including a copyright notice in the footer of a web site?在 web 网站的页脚中包含版权声明的最佳和最具语义的标签/方法是什么?
Put it inside your <footer>
by all means, but the most fitting element is the small element .一定要把它放在你的
<footer>
中,但最合适的元素是小元素。
The HTML5 spec for this says: HTML5 规范说:
Small print typically features disclaimers, caveats, legal restrictions, or copyrights.
小字体通常包含免责声明、警告、法律限制或版权。 Small print is also sometimes used for attribution, or for satisfying licensing requirements.
小字体有时也用于署名或满足许可要求。
it is better to include it in a <small>
tag The HTML <small>
tag is used for specifying small print.最好将其包含在
<small>
标签中 HTML <small>
标签用于指定小字体。
Small print (also referred to as "fine print" or "mouseprint") usually refers to the part of a document that contains disclaimers, caveats, or legal restrictions, such as copyrights. Small print(也称为“fine print”或“mouseprint”)通常是指文档中包含免责声明、警告或法律限制(例如版权)的部分。 And this tag is supported in all major browsers.
所有主流浏览器都支持这个标签。
<footer>
<small>© Copyright 2058, Example Corporation</small>
</footer>
In a link, if you put rel=license it: Indicates that the main content of the current document is covered by the copyright license described by the referenced document.在一个链接中,如果你放 rel=license 它:表示当前文档的主要内容被引用文档所描述的版权许可所覆盖。 Source: http://www.w3.org/wiki/HTML/Elements/link
来源: http://www.w3.org/wiki/HTML/Elements/link
So, for example, <a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Copyrighted but you can use what's here as long as you credit me</a>
gives a human something to read and lets computers know that the rest of the page is licensed under the CC BY 4.0 license.因此,例如,
<a rel="license" href="https://creativecommons.org/licenses/by/4.0/">Copyrighted but you can use what's here as long as you credit me</a>
人类可以阅读的内容并让计算机知道该页面的 rest 是根据 CC BY 4.0 许可证获得许可的。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.