我想询问哪img标签是正确的:正确img标签
<img src="http://i.imgur.com/r5wwImhb.jpg">
或
<img src="http://i.imgur.com/r5wwImhb.jpg"/>
谢谢。
我想询问哪img标签是正确的:正确img标签
<img src="http://i.imgur.com/r5wwImhb.jpg">
或
<img src="http://i.imgur.com/r5wwImhb.jpg"/>
谢谢。
您需要关闭然后在第一个标签。现在,第二个。 – kush 2013-03-16 20:22:20
请参阅http://stackoverflow.com/questions/3558119/are-self-closing-tags-valid-in-html5 – Michael 2013-03-16 20:22:47