2016-09-30 124 views
-2
<div id="image" style="float:left;margin-left:15px;" > 
<br> 
<br> 
<img src="https://pixabay.com/static/uploads/photo/2013/07/12/13/56/film-reel-147631__180.png"style="width:133px;height:133px;" align="left"> 

    </div> 

我的问题是,为什么是这样一个错误 我用尽摆脱的“<”,但只是不工作为什么说这句话在Dreamweaver“<必须转义”

+1

哪'''?你的代码中有很多东西,而且没有什么看起来不对,所以你的代码中可能会有语法EARLIER。 –

+0

换行img src – leafstone

+0

试试关闭img标签: ARJUN

回答

0

下面是正确的HTML和通过验证的评论:

<!-- You did not close the div tag here--> 
<div id="image" style="float:left;margin-left:15px;"></div> 
<!-- Changes to br tags --> 
<br /> 
<br /> 
<!-- You were missing an alternate text tag and a closing tag and there was no space in front of the style tag --> 
<img src="https://pixabay.com/static/uploads/photo/2013/07/12/13/56/film-reel-147631__180.png" style="width:133px;height:133px;" alt="Your description" align="left" /> 
<!-- You had one extra closing div tag here --> 

提示:您可能需要阅读CSS并使用它来代替内联样式。

+0

好吧谢谢!!!!!!!! – leafstone

相关问题