I tried adding CSS to a button, but it just outputs as a plain hyperlink.
Do I need to use a <button>
tag instead?
<a href="example.com" style=".button { /*Tons of correctly written, irrelevant CSS */ }">text</a>
答案 0 :(得分:0)
如果使用内联元素样本:
<a href="#" style="border:1px"
不使用:<a href="#" style=".button{border:1px}"