[英]Stray start tag td && Stray end tag td. w3c validation
My HTML is as as below. 我的HTML如下所示。
<div class="plan-row">
<div class="plan-cell en">100MB</div>
<div class="plan-cell en">4GB</div>
<div class="plan-cell hide-sm en">
<td lang="en">
<img src="..." alt="...">
</td>
</div>
</div>
When I check my website validation in validator.w3.org
i got this error 当我在
validator.w3.org
检查我的网站验证时,出现此错误
Stray start tag
td
.杂散开始标签
td
。
And 和
Stray end tag
td
.杂散末端标签
td
。
The <td>
tag defines a standard cell in an HTML table. <td>
标记定义HTML表中的标准单元格。
Because that your td
element is not inside a table, but inside a div
element, you are getting the error of stray start tag
. 因为您的
td
元素不在表内,而是在div
元素内,所以您收到了stray start tag
错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.