Firefox插件或其他工具来本地验证HTML页面 [英] Firefox addon or other tool to locally validate HTML pages

查看:123
本文介绍了Firefox插件或其他工具来本地验证HTML页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个rails项目,有很多重复的ID(它看起来像ID的使用像类应该已经使用),所以显然这是坏的。

I have a rails project with a lot of duplicate id's (it looks like id's were used like class should have been used), so obviously this is bad.

我需要重构一切,以摆脱重复的ID,需要一些插件的Firefox(理想情况下)来验证页面,因为我查看它,以确保没有重复的ID,因为它不是我想要粉饰的看起来在每一页手动。

I need to refactor everything to get rid of the duplicate id's, and need some addon for Firefox (ideally) to validate the page as I view it to ensure there are no duplicate id's, since it's not something I want to chalk up to "look at each page by hand".

有没有插件或其他工具,将允许我这样做? (我已经检查过firefox插件,发现没有什么真的有效,他们都只是重定向到w3验证器,我不能使用,因为应用程序是本地的)。

Is there an addon or other tool that will allow me to do this? (I have checked through the firefox addons, and found nothing that really works, they all just redirect to the w3 validator, which I can't use, since the app is local).

编辑:我应该提到,我想在Linux上。 HTML验证程序在Linux上不起作用

I should have mentioned, I want this on Linux. HTML Validator does not work on Linux

推荐答案

安装网络开发者工具栏,重新启动浏览器并按control + shift + l(旧版本中的control + shift + a)或使用菜单右键单击或工具栏):工具>验证本地

Install the Web Developer Toolbar, restart your browser and press control+shift+l (control+shift+a in older versions) or use the menu (either right-click or toolbar): Tools > Validate Local

这篇关于Firefox插件或其他工具来本地验证HTML页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆