当前位置: 首页 > 网络学院 > 设计教程 > 设计理念 > 网站的有效性验证

设计理念
网站设计DIY
网站字体应该具有视觉吸引力
网站设计中出现的新问题
创建Flash导航菜单
网站设计的几个主要方面
易于浏览的网页可以增加销售量
网站应该能够增加销售量
高质量的网站设计
提高网页下载速度
合理设计网站
网站营销中容易出现的错误
设计有特色的网站
如何设计有价值的logo
网站设计团队应该具备的9个因素
网站维护的简单方法
网络安全字体
创建有效网站的5条建议
网站设计避免出现8大错误
成功进行外包业务的10条建议
网站设计应该追求简约

设计理念 中的 网站的有效性验证


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-01   浏览: 1731 ::
收藏到网摘: n/a

Validated_WebsiteA lot of clients ask why they need their 'already working perfectly well' website validated. Below is a brief guide to try and answer this in a clear and simple way.

很多客户会提出这样的问题:很多网站在运行上已经没有任何问题,却还需要对其有效性进行验证。那么接下来,我将尝试使用简单、明了的方式回答上述问题。

Firstly we should explain what is meant by a validated website.

首先,解释一下有效网站的具体含义。

Put simply, validation is the act of writing and designing a website in as 'clean' a way as possible and testing it against industry standards. It makes use of cascading style sheets (CSS) to format the page layout and text and also cleans up any 'loose coding' which could otherwise cause problems.

简单地说,网站验证是用尽可能简洁的方法编写和设计网站的过程,也是一个测试其是否与行业标准相符的过程。它充分利用层叠式样式表来安排页面和正文的格局,并且清理掉一些不精确的编码,以避免这些编码引发出一系列问题。

For a further description we refer to an excerpt from the w3c website as they are the last word when it comes to validation!

下面进一步阐述一下,我们引用w3c网站中的一段话作为对网站验证的总结:

Validation is a process of checking your documents against a formal Standard, such as those published by the World Wide Web Consortium (W3C) for HTML and XML-derived Web document types. It serves a similar purpose to spell checking and proofreading for grammar and syntax, but is much more precise and reliable than any of those processes because it is dealing with precisely-specified machine languages, not with nebulously-defined human natural language.

网站验证就是通过正式的标准来检测文档的一种过程,例如,W3C发布的关于源于网络文档类型的HTMLXML验证程序标准。检查、校对语法和句法时,它和其他程序的语言组织标准都一样,但因为它是用分类精确的机器语言,而不是用定义模糊的生物天然语言,所以比任何程序都要精准、可靠。

The Benefits of Validating your website.

网站验证的优点:

1. Compatibility
兼容性

When your website code is not validated you are running the risk of your site displaying unpredictably in different browsers. For example, Internet Explorer is more forgiving and likely to internally fix small amounts of 'loose coding' whereas stricter browsers such as Mozilla Firefox and Safari will display a page as it is coded. Validation makes the code uniform and means you will not have an unprofessional and unpredictable looking website or risk alienating certain users who don't use Internet Explorer!

网站编码没有得到验证前,这个站点已不知不觉中呈现在各个不同的浏览器上。举例说一下,若编码存在问题,Internet Explorer 还稍微好一点,可能会在内部修复小部分松散的编码,然而,像火狐 Safari,这些服务器就会严格按照编码呈现出来。在进行网站验证以后,编码就可以严格、统一了,一些不使用Internet Explorer的用户在浏览网页的时候,整个网站会显得非常不专业,非常糟糕。

2. Search Engine Optimisation
搜索引擎最优化

A website that is 'clean' is far easier for the search engines (Google, Yahoo etc) to 'read through' and index. The easier they can do this the easier it is for them to find the real meat of your site i.e. the content. The other point to make here is that if your site isn't validated it is possible for search engines to place greater emphasis on the wrong part of your code and your site could therefore be missing out on being found for the most appropriate searches *

搜索引擎(Google,Yahoo)更容易浏览到清晰,正规的网站,然后对此做索引。这个越容易做到,用户就越容易在网站中找到自己想要的内容。另外一点需要指出的是,如果站点没有被验证,搜索引擎就有可能把重点放在你错误的编码上,也就可能导致网站被搜索时,被搜索引擎遗漏。

3. Accessibility
易接近性

Validating a site requires the use of many accessibility techniques such as the use of ALT tag on images. Steps such as these make your site more readable for those users who are vision, motor skilled or cognitively impaired. Validation makes the site readable as it allows aids such as screen readers to read through your site correctly. Although validation is not in any way a guarantee that your site is accessible, it is a huge leap towards this and far superior to an unvalidated site.

网站验证需要运用技术,来吸引用户,比如在图像上运用ALT标签。通过这样一些举措,网站既能吸引认知能力强,精通于搜索的用户,也能吸引认知能力稍弱一点的用户。网站验证可以提供许多帮助,比如,屏幕前的读者可以在指导下正确地浏览你的网站,所以验证后网站会更具吸引力。尽管验证并不能保证站点在任何方式下都容易被用户搜索、浏览,但这一举措已经是向目标做出了巨大的跨越,而且验证后的网站远比未验证的网站要优越、高级。

4. Faster loading
加载速度更快

Conventional websites made use of tables and an extensive amount of tags for formatting both the page structure and content. The use of CSS separates the structure from the content and gives the browsers less code to trawl through before they can successfully render the page. Validation also aids the browser in displaying the site faster as there is no 'loose coding' for the browser to get tangled up in or waste time trying to 'fix'.

网站充分利用表格和大量的图标来设计每一页的结构和内容,以方便用户使用。利用CSS把结构与内容分离开,在页面成功地呈现出来之前,只把较少的编码传递给浏览器。验证后,不精确的编码将不复存在,浏览器也就不会浪费时间去整理,网站就可以更快地显示出来。

So where does this leave you?
网站应该做的:

Firstly you might like to check your current site for validation (see the steps below).

首先,验证之前,检查站点当前情况(请看以下步骤)。

Secondly, decide whether validation is something that you feel you should be concerned with but please bear in mind that you now have a legal obligation to have an accessible website *

其次,决定你是否参与网站验证,但是请记住:你需要建立一个不包含错误代码的网站。

Thirdly, enlist the help of a professional SEO company to review your website and carry out necessary alterations. In some cases you may be cheaper having your website completely rebuilt rather than trying to fix the current errors but don't let this put you off. Look upon it as an opportunity to spruce up your existing site and start afresh!

第三,寻求专业的SEO公司的帮助,检查网站并且完成一些必要的改进。在某些情况下,修理网站当前的漏洞比重建网站的成本还要高,所以选择后者较为合算。就把重建网站看作是一个重新调整,全新开始的机会,否则这些错误会把你拖垮。

How to validate your website using Validation Tools:
如何使用有效性验证工具来验证网站的有效性:

1. Go to the W3C validator website.
进入W3C网站验证有效性

2. Type in the URL of your website.
输入站点的URL

3. Hit the check button.
点击“检查”按钮

4. You will be presented with a list of results.
显示结果列表

评论 (0) All

登陆 | 还没注册?