我在验证 AMP 代码时在我的代码中遇到了这个问题
属性“onclick”可能不会出现在标签“button”中
我的代码看起来像
<button class="btn btn-primary float-right" role="button" onclick="calc();">
我无法找到并回答任何相关问题。
html amp-html
amp-html ×1
html ×1