开发者

Dynamic Way to Check for Broken Image ALT tags on Site? [closed]

开发者 https://www.devze.com 2022-12-19 06:36 出处:网络
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this
Closed. This question needs to be more focused. It is not currently accepting answers.

Want to improve this question? Update the question so it focuses on one problem only by editing this post.

开发者_高级运维

Closed 7 years ago.

Improve this question

Is there a website generator that can search for a given URL and output the urls where the images are missing their ALT tags?


Yes - use the w3c markup validator. It will output an error for <img> tags that do not have the required alt attribute.

Note that this will only happen for doctypes which require the alt attribute. I believe that, at minimum, all XHTML doctypes require it, so if your page does not already have that doctype, you might consider adding it temporarily to use the validator.


Why don't you use W3C Validator?


I found 2 sites

http://www.web-backlinks.com/webpageimgaltchecker.asp - seems to only do alt's

http://www.clarity-media.co.uk/alttagchecker.php - seems to only do alt tags.

As people mentioned you can use w3c validator but then you got to filter through all the other invalid ones and if your really only looking for imgs this might same you a bit of time.

0

精彩评论

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