帮我看一下2个这些代码行怎么修改成正确的,初学者 ,别见笑!!!

[复制链接]
查看11 | 回复1 | 2011-3-3 13:38:22 | 显示全部楼层 |阅读模式
Line 52, Column 129: required attribute "alt" not specified
…n:0px; border-width: 0px;" src="http://www.liu219.com/usr/uploads/liu219.jpg"/>
?
The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
Typical values for type are type="text/css" forand type="text/javascript" for .
Line 114, Column 6: end tag for element "div" which is not open
?
The Validator found an end tag for the above element, but that element is not currently open. This is often caused by a leftover end tag from an element that was removed during editing, or by an implicitly closed element (if you have an error related to an element being used where it is not allowed, this is almost certainly the case). In the latter case this error will disappear as soon as you fix the original problem.
If this error occurred in a script section of your document, you should probably read this FAQ entry.

回复

使用道具 举报

千问 | 2011-3-3 13:38:22 | 显示全部楼层

[img][/img]
--------------------------------------------------------------------------------这是介绍HTML的一些元素,比如你像元素“img“的属性”alt"是显示图片的文字说明
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行