amp-html - amp-img 的属性是什么 :attribution for?

标签 amp-html

amp-img 具有属性:attribution。
这是为了什么?在移动设备上没有鼠标悬停。
是否有计划在图片中添加此注释?
我询问是否将此字段用于具有共享属性的 CC-Picture。在欧洲(可能在世界各地),必须在靠近图片的地方标明作者的名字。

最佳答案

amp-html 中使用图像时,amp-img 包含用于通过 attribution 表示归因的属性属性。

Attribution: This license lets others distribute, remix, tweak, and build upon your work, even commercially, as long as they credit you for the original creation. This is the most accommodating of licenses offered. Recommended for maximum dissemination and use of licensed materials.

attribution= "CC courtesy of AMP on Flicker"

关于amp-html - amp-img 的属性是什么 :attribution for?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36964832/

相关文章:

api - 通过 AMP 页面上的 API 访问 cookie

amp-html - AMP with Blogger - 带有 xmlns 的 header

wordpress - 实现 AMP 后减少 AdSense 访问量/展示次数

asp.net - ASP.Net Web 表单中的加速移动页面可能吗?

html - 当我在 AMP 页面中添加 map iframe 时显示错误

javascript - 选中/取消选中 AMP 上未正确更新的 radio 输入字段

amp-html - 如何禁用 amp-img 默认灯箱功能?

javascript - amphtml 在引导模式中显示 amp-img

javascript - 在 setState() 触发之前,Amp-state 会被忽略

google-analytics - AMP 分析 - 链接跟踪,跟踪点击了哪些链接/数据属性