我一直在使用这个互换,工作是一样的。有什么区别吗? 哪种方法应该在哪些情况下使用? <a><button> ...</button></a>和<button><a> ...</a></button>有什么区别?
<html>
<head>
</head>
<body>
<a href="http:\\www.google.com"><button> click </button></a>
<button><a href="http:\\www.google.com"> click </a></button>
</body>
</html>
不能嵌套互动元素! – Oriol
@Oriol感谢您的具体陈述。现在我已经阅读了文档的这一部分,这更清楚。 –