Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/86.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css html5验证图标记结构_Css_Html - Fatal编程技术网

Css html5验证图标记结构

Css html5验证图标记结构,css,html,Css,Html,请检查html结构中的数字标记 html5验证-允许这种结构吗 <a href="#"> <figure> <img src="" class="img-responsive" alt=""> <figcaption>Family</figcaption> </figure> </a> 及 谢谢如果在alt属性中添加文本,在src属性中添加“#”,则第一个代码段是正确的

请检查html结构中的数字标记

html5验证-允许这种结构吗

<a href="#">
   <figure>
      <img src="" class="img-responsive" alt="">
      <figcaption>Family</figcaption>
  </figure>
</a>



谢谢

如果在alt属性中添加文本,在src属性中添加“#”,则第一个代码段是正确的,并且通过验证

<figure>
   <a href="#">
      <img src="" class="img-responsive" alt="">
      <figcaption>Family</figcaption>
   </a>
</figure>