请帮助,我在验证我的html5模板时通过http://validator.w3.org/收到错误.我收到消息"元素不能作为按钮元素的后代出现".我无法理解这一点.谁能帮我解决这个问题?
这是我的代码---
<div class="post-response btn-group btn-group-lg">
<a href="#"><button type="button" class="btn btn-default"><i class="fa fa-comment"> 5 Comments</i></button></a>
<a href="#"><button type="button" class="btn btn-default"><i class="fa fa-heart"> 5 Likes</i></button></a>
</div>
Run Code Online (Sandbox Code Playgroud)