Protocol 320 of HTML style

Recommendation HTML320 of Actiu informatica of 12/11/2001
Català / Catalan
Castellano / español / spanish
English / inglés / anglès

The following regulations have to be useful to the generation of all the HTML documents.
It is made to motive of making the pages with current browsers and futures compatible, as well as with specifications future of HTML, and also of normalizing the methods and lines of design on the part of internet developers.
As "Protocol HTML320" o "Protocol 320 of HTML style" only the documentation related to the direction of internet http://www.actiu.net/infordoc/html/html320/ is valid.

Due in what these regulations have been elaborated during the year 2001, it is a lot a current to find documents that do not fulfill it, which have been created since 1997.

As a vocabulary typical of the document, the clause word is used for designating the "nest" of contents that they form the opening, affected contents and closing of one marks (That is, a clause only forms a tag that has opening and also closing; the longest clause that we will have will always be the one formed by <html> and </html>).
Some part of this document is seen correctly with browsers whom they interpret tables (table, tr, td) and codes of double-comet (34), major-than (gt), minor-than (lt) and space (nbsp).

These regulations presuppose already that the effective legality and the specification HTML 3.2 that issued W3C in 14/1/1997 are respected.
Only there will be some exceptions:
  • It can be made use of the frames normalized with the HTML 4.01 specification that W3C issued in 24/12/1999.
    For this case, it is necessary to use the clause <noframes> facing an alternative to the browsers who do not support the framing. It remains the use of the tag <iframe> discarded.
  • It can be made use of the tag <embed> not normalized for integrating multimedia contents. It follows an example of its syntax:
    <embed src="filename.ext" width="2" height="0" autostart="true" loop="false">
  • "justify" can be made use of the value of attribute for the alignment of elements (div, h1...h6, p, td, th, tr), according to the HTML 4.01 foreseen in the specification that issued W3C the 24/12/1999.
    As the alignment is made by default towards the left, this does not have to entail any problem for the browsers who do not interpret it.
  • For another type of exceptional contents (like for example, Macromedia Shockwave Flash, VRML, RealAudio, etc.) it is necessary always to plan on the alternative solution for the browser who does not support it.
  • The correct visualization can become use of tags and attributes HTML of back specifications W3C taler than HTML 3.2, always and when it does not depend on it with a browser who does not contemplate these tags or attributes.




Recommendations about the creation of HTML documents



In the moment that we concentrate in the composition of each page HTML we will find again in the foreground questions related to the design. We will also have to have clear which HTML tags we will go to use.

  1. Which HTML enlargements to use?

    Even if it is already established HTML 4.0 and XHTML and they have it influences about this protocol this does not mean that we can launch for the gunwale the "past". One of the most polemical questions falls on the choice of the HTML tags to use. With HTML 2.0 a species of minimum rule was established in the creation of documents HTML. The enlargements of the manufacturers of browsers as well as the specifications HTML 3.2 and 4.0 offer all a series of alternatives for coding the HTML pages. The inconvenience of these "alternatives" is that many documents only reproduce correctly and in the way waited for in a determinate browser. The users of other browsers can not see anything or, as a lot, a broken document. Therefore like web site authors we have the option, and the responsibility, of taking a decision:

    1. HTML for purists

      If we find ourselves among the purists, or at least our knowledge starts from this circle, practically we will be condemned to HTML 2.0, even though also in this case we will have to observe some basic principles:

      • We have to use only logical tags for describing documents (for allowing the browser its correct conversion)
      • On inserting graphics, we have present that there are also browsers directed at text, or situations in which the user deactivates the representation of graphics. We have to include, therefore, a text in each graph in the alt attribute

      We would doing without forms and, to possible being, inserting only GIF images, even though the ideal would be completely to renounce to the use of graphs.

    2. HTML for "phenomena"

      The another expensive one of the development is represented for concepts like HTML 4.0, Style sheets, JavaScript, MM-Flash, etc. If our activity focuses on the new technologies or if we wish to show the modern browsers are capable of what (or which its limitations are), we will resort to the new HTML 4.0 tags. We will equip our documents with Style sheets and we will use script languages with generosity. And as supposed also we will have to give the fair tribute to the new HTML enlargements that each manufacturer introduces in its browser. Then we will be able to include among a group of vanguard creators and, at the same time, to have the certainty of that only a few readers and browsers will be able to see correctly our documents. There is still and it will continue existing people who will not update immediately its equipment with the last internet browser nor either friends of "to stack" numberless plugins in the hard disk.

    3. HTML for the rest of the world

      Probabily both extreme cases that we have just mentioned are not representative for the majority of the HTML creators. At any rate, as an author we do not have to stop reflecting about who they are the readers of our pages and which consequences derive:

      • The major part of the current browsers who access to the internet they are compatible with HTML 2.0. If we limit ourselves to these tags we will have a high provabilitat of the immense majority of users being able to read our documents and being able to see them in its browser as we have designed them.


      • The pilot shows us that a great percentage of users acquired absolute confidence in Netscape 3.0 and Microsoft Internet Explorer 4.0 (and in its next versions). This means that the HTML enlargements for Netscape/Mozilla and Microsoft also are usually disposable. On analyzing the extensions we find that many tags and attributes have the necessary support in both environments of navigation. HTML 3.2 has written down of this fact and already included the tags and corresponding attributes to a large extent as standard. For this reason for the great majority of the users no problem should suppose the inclusion of different colors, font sizes and tables in the web pages.

      As more and more documents are generated with tools like Microsoft FrontPage, Netscape/Mozilla Composer, HoTMetaL, Macromedia DreamWeaver and other assistant HTML, we will depend on the implementation of the corresponding generators of code. An analysis of the font code HTML demonstrates that, basically, Microsoft and Netscape/Mozilla make an intensive use of tags like <font>, <big>, etc.. In HTML code generated with assistant-tools the tag <center> turns up also with frequency. Many of the used tools start from the basis that the user uses a browser compatible with Microsoft or Netscape/Mozilla. If we use the "web site enlargements" of Microsoft FrontPage we will depend, besides the web site server of Microsoft.

      In theory we have the possibility to adapt standard the HTML code generated with assistant-tools, even though it is not usually carried out by reasons of cost or work, to determinate regulations. On some occasion we will be able to optimize the code HTML of tables manually. It will bring us better results to renounce in these tools, like for example the Marquee function by Microsoft.

      From this recognition, this type of argument about the HTML tags is purely an academician. With every certainty there are still users who depend on Lynx. Everybody who wishes or it needs to write for this type of customers will not have more remedy than abiding by the premises of the section "HTML for purists". Whenever we do not resort to very special tags the majority of browsers do not have because to have excessive problems for representing the documents in an acceptable way. And if we take into account much more that online services like AOL or Compuserve integrate and discharge the browsers of Microsoft and Netscape/Mozilla. Also these browsers, or other alternative ones, for other platforms / operating systems, are disposable. Under these conditions we advise, however, to follow as a recommendation the Protocol 320 of HTML style the goal of which is to make the pages with present and future browsers compatible, without renouncing to new possibilities of modern and powerful browsers.

      If possible, we prove the documents in the two most popular browsers (Microsoft Internet Explorer and Netscape Navigator/Mozilla Firefox).

      Already it has been mentioned before: The means of publication and the readers-goal gauge the tags that we will be able to use. Generally the reserved groups of intranets are usually already delimited by its equipment of hardware and software, that is, we can know a priori with which browsers they work. With something similar entity find in the projects in CD-ROM where, if it is necessary, a browser can include itself and it can detail the requirements of hardware and software in the cover of the disk. In these two cases, the creator HTML will be able to ignore many limitations that he himself forces itself on to publish to the web page of internet.

      In greater projects it is advisable to use specialized tools for generating and sustaining the HTML code. These tools usually contemplate also the administration of projects. Likewise, it is convenient to have staff, who will facilitate us the creation of pages. Many tools offer these staff in its standard distribution.


AtribucioNo comercialSense derivats