开发者

how to find img element who not have alt attribute in Visual studio

i want to find al开发者_JAVA技巧l image element who not have alt attribute means not have alt="" if not then how i can replace them with

Find

Replace with

i want to replace if image not have alt attribute because it is big so how i can do this in visual studio


Since alt is required attribute for img under modern schemas, visual studio should be reporting the missing ones if your doctype is set. Tested this with XHTML 1.0 Transitional, got a warning of:

Warning 5 Validation (XHTML 1.0 Transitional): Element 'img' is missing required attribute 'alt'.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜