Menu
|
You are in:
Verify your site - Standards of used
languages
Standards
of the used languages
In designing a website, you can
follow three different levels of W3C standards dictated by
different degrees of severity.
You can easily test your site by clicking on it with
the second mouse button and choosing "View source" (see source) and look if in
the first few lines of code is at least present the term "Frameset",
"Transitional" or better yet "Strict".
This does not guarantee adhering to quality, because
we must also verify that the same code has been met (see "validation"). To
verify the correctness of the code written, we have automated tools to validate,
made available through the W3C Markup Validation Service, Validator.w3.org site
to validate HTML, and site Jigsaw.w3.org to validate the css.
Standard Levels:
0) No level of quality standards adhered to.
1) The level of standard Frameset, which is also the most permissive,
since it accepts the 'use of different tag obsolete and yet allowed to split the
window into frames (subwindows) Therefore, it is destined to disappear
from the web.
2) A higher level of quality standards and Transitional, which is most
recommended in the renovation of an existing website that does not follow the
current standards, but nevertheless, I accept 'use of Some deprecated tag.
3) The highest level of quality standard and strict, that all sites
should follow the new generation, it is the most punctilious and severe, does
not admit any kind of deprecated tags and no lack of respect for the rules of
W3C, requires a complete separation of content from style, by obtaining a code
already optimized by itself, without any kind of error, ie a code clean.
Example of code that complies with the W3C XHTML Strict:
! DOCTYPE html PUBLIC "- / / W3C / / DTD XHTML 1.0 Strict / / EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" html xmlns = "http://www
.w3.org/1999/xhtml "lang =" en "xml: lang =" en "
In building a website, it is recommended and
sometimes required, to follow specific rules to meet the standards drawn up by
the W3C.
The World Wide Web Consortium (W3C) creates Web standards Its purpose is to
bring the Web to its maximum potential.
At the address http://www.w3c.it/w3cin7punti.html. You can find a summary of the
objectives and strategic principles of the W3C.
So it's fitting that the webmaster knows that any
code or language has its own rules, which allow to avoid making mistakes of
syntax of the code or of rules that would compromise the length and the
compliance of the website.
Do not follow these standards facilitates very much
the work of the webmaster, but at the expense of the site, which will be full of
errors and therefore obsolete, with no possibility of being projected into the
future of the web.
We explain why: not writing a "CLEAN" php, html, css or javascript code can also
get beautiful and attractive sites of both graphics and content, even it is much
easier to obtain satisfactory results in a short time, using the "visual"
programs, the so-called WYSIWYG who are able to realize a site within hours,
acting in a completely visual and automatically creating the source code. And
even if the webmaster of this work may seem apparently attractive, do not think
to get in your hands a professional and durable website, it will be just a nice
showcase not fully functional and with a bad shoulder construction.
|