About Bad HTML Habits

Posted on January 25th, 2009 by admin, under E-Learning.

With HTML this is simply due to the structure of that language. But even after the best HTML programmers can commit mistakes in programming, they develop bad habits HTML. In this article we will discuss some of the bad habits that gains even some of the best HTML jockeys from HTML to retain the appropriate access.

We will discuss and try to understand some of the bad HTML habits developed by many of us. In the short time some of us may have eased with style sheets since the dependence on the formatting tags police, but how you make your way through the HTML world, you can be sure this code that some may work, but not on the exact specifications.

Bad Habit HTML-1
The first bad habit HTML is the misuse of position. The user agent may be able to table of contents by reading the headlines on one Web page to build. Thus, with H1-H6 tags to structure your information is important, and these tags are simply the size of the text can be problematic.

Bad HTML Habit2
Transparent images have become a de facto workaround by which many web designers to avoid imitations HTML layout. May these images, it is difficult for user agents to distinguish between real content and additional images such as spacers. Instead, use style sheets, margins, spacing and other page elements to control. (Offers CSS2 thematise new styles, white space.
)

Bad Habit HTML 3
Another no-no-block, with quotes or containers that control list entry. The two workarounds are commonly used by Web Builder indent paragraphs or entire pages. The problem is that software can provide information and to interpret, because a certain type of tag.

Ainsi, un texte-lecteur de voix pourrait interpréter les renseignements sur les taux bloc comme une citation et le lire en conséquence, si, en fait vous tentiez simplement mettre en retrait d’un paragraphe. Here, too, the style sheets are the best solution, they allow you to separate the formatting and appearance of the material structure of the page.

Bad Habit HTML 4
Another culprit is the use of tags text formatting absolute instead of relative. B and strong, for example, can do the same in many browsers, but this does not mean the same thing. The STRONG tag, and the EM-day was designed to bring important structural) could either change the form of visual (font, size and style, or a change in noise (inflection, volume and height specified) .

If you wish, can then be improved, they ignore these tags
You need to alternate content when you create pages with certain elements wish to offer:
If you provide information SCRIPT NOSCRIPT.
When using frames, provide NOFRAMES information.
When using EMBED to inform NOEMBED.
With the use of applets using ALT text.
When using FRAMESET, make sure you use a license.
Enter a plain text alternative to audio or video.

Leave a Comment