[英]HTML: Error: Start tag a seen but an element of the same type was already open
I have this problem when I tried to validate my code:当我尝试验证我的代码时遇到了这个问题:
Error: Start tag a seen but an element of the same type was already open.
I changed the sentence a couple of times but nothing seems to work and frankly I don't understand the error.我改变了几次句子,但似乎没有任何效果,坦率地说,我不明白这个错误。
Error: Start tag a seen but an element of the same type was already open.错误:开始标记已看到但相同类型的元素已打开。 From line 134, column 52;
来自第 134 行,第 52 列; to line 134, column 84 e taking:
<a href="https://www.drugs.com/">Medica
到第 134 行,第 84 列 e 采取:
<a href="https://www.drugs.com/">Medica
Here is the part of my code that went wrong这是我的代码出错的部分
<p>
Resources: To learn more about diabetes and living with diabetes:
<a href="http://www.diabetes.org/?referrer=https://www.google.com/">
American Diabetes Association><br>
To learn more about the drugs that you are taking:
<a href="https://www.drugs.com/">
Medications
</a>
<a href="#top">
Back to top of page
</a>
</p>
You have three <a>
start tags and only two </a>
end tags.您有三个
<a>
开始标签和两个</a>
结束标签。 You need to add the missing end tag.您需要添加缺少的结束标记。
This part is invalid:这部分无效:
<a href="http://www.diabetes.org/?referrer=https://www.google.com/">
American Diabetes Association>
You need to close it like this:你需要像这样关闭它:
<a href="http://www.diabetes.org/?referrer=https://www.google.com/">
American Diabetes Association</a>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.