Accurate HTML code
Any work should be executed accurately and beautifully. Especially if many
people can see it. And it directly concerns development of sites, and in
particular some technologies used at it is HTML and CSS.
Looking through pages on the Internet we, as a rule, do not look in code HTML.
And what for it is necessary for the usual user? But often happens important to
look at a code, to make some impression about founders of it a web-site. Code
HTML, it as a mirror of skills, opportunities and desires of the developer of a
site.
Having glanced there it is possible to learn with ease how the page ??” by "program-???»?µ???°?»??????"
or the person is made, its mind and knowledge. That it was easier to you to
understand my idea, I shall draw an excellent parallel. Take music. There are
the compositions written by one person behind a computer, by means of simple
programs. On all tools it "plays" itself. To it it is not necessary with feeling
of a rhythm, the guitarist with masterly technics, the bass player too to what,
and the keyboard player superfluous is not necessary to it... It presses the
button and the programplays all. The flooded radio and clubs senseless also
turns out. Art and is not present creativity. And in a writing of a code. The
program in fact silly ??” litters all with the comments unnecessary tags and
designs. And the user before does not have business - in it IE all is looked
well. And about Oper'?? and NN it at all does not know, which make special
demands to registration of a code of page.
Creation of effective and accurate code HTML is original, but art where it is
necessary to think. Especially it will be felt, when will create a site not for
itself, and for someone. And there are sites very complex structure where work
master borrows half of operating time above all site. The tables enclosed
several times, non-standard positioning and registration of the test... Personal
experience of writing HTML by handles here to not manage in any way. Especially
the same problem can be solved different ways among which it is necessary to
choose the most optimum.
That your code of page looked adequately, accurately and to you it was easy to
be guided in it attentively study items and adhere to them at writing HTML:
??? Try to not write tags capital letters (TABLE, BODY, IMG) is first attribute of
not manual work and in such code it is heavy to be guided, as the majority of a
code on the Internet all the same is written by lower case letters (table, body,
img).
??? Attributes always write down in inverted commas (align = "right"), that will
give to your code accuracy and compatibility with language XML.
??? Appropriating any value (width, height) in pixels, do not forget it to specify,
i.e. width = "5px".
??? There are tags (<li>, <p>) for which it is unessential to put a tag closing.
But I recommend to put all the same them in any case. First, so it is easier to
be guided in a code, and secondly, for full compatibility with all browsers and
their versions (looked the site under Netscape 1.0?).
??? Unnecessary comments which often leave "programs-???»?µ???°?»????" are inadmissible.
And here own always write, they to you will facilitate a finding of the
necessary fragment of a code of page.
??? Try to not leave styles in a page. Deduce them in a separate file ??” so easier
something to change and the code of page will decrease (sometimes very
noticeably).
??? Each symbol has a so-called substitution. For example, for a dash it —,
and for inverted commas « (left) and » (right). On HTML you will
find the list of such symbols and their substitutions In any directory. Always
use them, differently there can be problems with their correct display.
At last I shall tell, that "programs-???»?µ???°?»???°????" are better for not using,
because they spam a code and eventually it stupid. Use multipurpose notebooks
where you write all, but this process is accelerated due to additional
opportunities.
Often by development of a site a lot of time is given on visual design ??” in fact
it is seen by visitors. And that is hidden (code HTML) it is possible to make
and in a quickly way. Because of such attitude in our Runet set of sites with
remarkable external design have the disgusting code made quickly in ?«???»?µ???°?»???µ?».
Do not repeat mistakes such ???°???‚?????‚???????‚?µ?»?µ??, impose accurately and beautifully,
allocate structure of a code, and always remember, that language HTML ??” a basis
of a site.
12.05.2007. 20:29
This article hasn't been commented yet.
Write a comment