2014-01-05 83 views
0

我可以使用它吗?html5我可以使用<a>包括<figure>标签?

<a href=""> 
    <figure class="thumbnail"> 
     <img src="" alt=""> 
     <figcaption class="thumbnail-caption">...</figcaption 
    </figure> 
</a> 

此语法是否正常?

所有其他空白将被保留。

Markdown and HTML are turned off in code blocks: 
<i>This is not italic</i>, and [this is not a lina 
+1

是:http://html5doctor.com/block-level-links-in-html-5/ – kalley

+1

emm,为什么不自己测试一下?你已经有了代码,你可以检查出来! –

回答

0

是的。如果你不知道,只需使用HTML validator(记得关于html5的<!doctype html>)。