Javascript Div-won';关不上 ^//这是无法关闭的分区// //而是包含以下内容//

Javascript Div-won';关不上 ^//这是无法关闭的分区// //而是包含以下内容//,javascript,html,css,wordpress,Javascript,Html,Css,Wordpress,您给定的代码中有一个错误,在img标记样式属性中缺少“ 代码错误 <div style="margin: 8px auto;text-align: center; clear: both;"> <img src="https://storage.googleapis.com/support-kms- prod/SNP_3094702_en_v0" style="max-width: 100%; /> </div> ^ // THIS IS THE DIV T

您给定的代码中有一个错误,在
img
标记样式属性中缺少

代码错误

<div style="margin: 8px auto;text-align: center; clear: both;">
<img src="https://storage.googleapis.com/support-kms-
prod/SNP_3094702_en_v0" style="max-width: 100%; />
</div>

^ // THIS IS THE DIV THAT WON'T CLOSE //
  // IT INSTEAD INCLUDES THE CONTENT BELOW //

<article class=">
<div class="category">
</div>
<img src="https://storage.googleapis.com/support-kms-
prod/SNP_3094702_en_v0" style="max-width: 100%;></div>

正确代码


img
标记样式属性中,给定的缺少
的代码中存在错误

代码错误

<div style="margin: 8px auto;text-align: center; clear: both;">
<img src="https://storage.googleapis.com/support-kms-
prod/SNP_3094702_en_v0" style="max-width: 100%; />
</div>

^ // THIS IS THE DIV THAT WON'T CLOSE //
  // IT INSTEAD INCLUDES THE CONTENT BELOW //

<article class=">
<div class="category">
</div>
<img src="https://storage.googleapis.com/support-kms-
prod/SNP_3094702_en_v0" style="max-width: 100%;></div>

正确代码



&时代;

&时代;

我看不到剧组的结尾标签在图像标签后面?对不起,我指的是段落中的第一部分。它包括页面的其余部分(从文章开始)只是一个平头,
img
元素是自动关闭的无效标记,不需要结束标记,请参见:我没有看到divs的结束标记它在图像标记之后?对不起,我指的是段落中的第一部分。它包括页面的其余部分(从文章开始),只是一个平头,
img
元素是自动关闭的无效标记,不需要结束标记,请参阅:超级棒!就是这样。非常感谢。谢谢@ebkod。。如果找到解决方案,请关闭此问题SuperB!就是这样。非常感谢。谢谢@ebkod。。如果找到解决方案,请关闭此问题什么?它是用来显示广告的图像的,不是吗?是的,但是标签是空的,因为它没有任何内容,因此没有结束标签。它有结束标签是的,对不起,伙计,我刚才在问题中复制了他的标签。&困惑了。谢谢你让我知道。:)什么?它用于显示有关广告的图像,不是吗?是的,但标签是空元素,因为它没有任何内容,因此没有结束标签它有结束标签是的,对不起,伙计,我刚才复制了问题中的标签。&感到困惑。谢谢你让我知道。:)