I\'ve heard that putting a block element inside a inline element is a HTML sin:
What we have here is a
Block level elements like can be wrapped by tags in HTML5. Although a is considered to be a container/wrapper for flow content and 's are considered flow content according to MDN. Semantically it may be better to create inline elements that act as block level elements. 0 讨论(0) 查看其它14个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
can be wrapped by tags in HTML5. Although a is considered to be a container/wrapper for flow content and 's are considered flow content according to MDN. Semantically it may be better to create inline elements that act as block level elements. 0 讨论(0) 查看其它14个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
is considered to be a container/wrapper for flow content and 's are considered flow content according to MDN. Semantically it may be better to create inline elements that act as block level elements. 0 讨论(0) 查看其它14个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复