我如何在超文本标记语言中写入CC徽标,是否有类似© (提供©)的内容?
(CC代表Creative Commons)
发布于 2008-11-11 21:19:12
据我所知,这里没有字符,所以你必须使用图形。
here上有一些不错的选择。顺便说一下,在这个页面上,还有一种您可以在HTML中使用的徽标字体,但对于没有安装该字体的其他用户,该字体将不会正确显示。
发布于 2011-03-07 12:44:54
正如schnaader指出的那样,有一种TTF字体,但他的回答是,对于没有使用CSS的@font-face标签安装它的人来说,它实际上可以正确地呈现出来。
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>Test</title>
<style type="text/css">
@media screen {
@font-face {
font-family: 'CC-ICONS';
font-style: normal;
font-weight: normal;
src: url('http://mirrors.creativecommons.org/presskit/cc-icons.ttf') format('truetype');
}
span.cc {
font-family: 'CC-ICONS';
color: #ABB3AC;
}
}
</style>
</head>
<body>
<p>Key: a: SA, b: BY, c: CC Circle, d: ND, n: NC, m: Sampling, s: Share, r: Remix, C: CC Full Logo</p>
<span class="cc">a b c d n m s r C</span>
<p>This page is licensed under <span class="cc">C</span></p>
</body>
</html> Try out this example in jsFiddle。
发布于 2020-04-20 08:10:51
现在是2020和Unicode 13 is out。它引入了new Creative Commons license symbols。新的兼容Unicode的超文本标记语言实体(带圆圈的CC符号)是🅭,你需要一个兼容的字体才能工作。您可以使用CC Symbols font作为仅在没有兼容字体的设备上下载的备用字体。链接上的说明。
https://stackoverflow.com/questions/282171
复制相似问题