| Using HTML is the quite easy because of eth | | | | workarounds used by Web builders to indent |
| structure of this language. But even after that the | | | | paragraphs or whole pages. The problem is that |
| best HTML programmers can commit mistakes in | | | | software may interpret and deliver information a |
| the coding if they develop some bad HTML habits. | | | | certain way because of the tag. So, a |
| In this article we will discuss some of the bad | | | | text-to-voice reader might interpret the block |
| HTML habits which keep even some of the best | | | | quote information as a quote and read it |
| HTML jockeys from gaining proper accessibility. | | | | accordingly when, in fact, you were just trying to |
| Let's discuss and try to understand some of the | | | | indent a paragraph. Again, style sheets offer the |
| bad HTML habits developed by many of us. | | | | best solution; they allow you to separate the |
| In the due course of time some of us may have | | | | formatting and visual appearance of the material |
| been using the style sheets to the extent to | | | | from the structure of the page. |
| alleviate the dependence on FONT formatting | | | | Bad HTML Habit#4 |
| tags, but as you make your way through the | | | | Another culprit is the use of absolute text |
| HTML world, you will definitely find out that this is | | | | formatting tags instead of relative ones. and , for |
| some code that may work but not to the exact | | | | example, may render the same in many |
| specifications. | | | | browsers, but they do not mean the same thing. |
| Bad HTML Habit #1 | | | | The tag, as well as the tag, was designed to |
| The first bad HTML habit is the improper use of | | | | indicate structural emphasis that could take the |
| headings. The user agents may be able to build a | | | | form of either a visual change (font, size, and |
| table of contents by reading the headings on a | | | | style) or an audible change (inflection, volume, and |
| Web page. So, using H1 through H6 tags to | | | | pitch). |
| structure your information is important, and using | | | | If you want to improve then don't ignore these |
| these tags simply to size text can cause | | | | tags |
| problems. | | | | You need to provide alternative content if you're |
| Bad HTML Habit#2 | | | | creating pages with certain elements: |
| Transparent images have become a de facto | | | | * When you use SCRIPT, provide NOSCRIPT |
| workaround by which many Web builders elude | | | | information. |
| HTML's layout limitations. These images, however, | | | | * When using FRAMES, provide NOFRAMES |
| can make it difficult for user agents to distinguish | | | | information. |
| between real content and ancillary images such as | | | | * When using EMBED, provide NOEMBED |
| spacers. Instead, use style sheets to control | | | | information. |
| margins, spacing, and other page elements. (CSS2 | | | | * When using APPLETS, use ALT text. |
| also offers new styles that address white space.) | | | | * When using FRAMESET, make sure to use |
| Bad HTML Habit #3 | | | | TITLE. |
| Another no-no is using block quotes or list | | | | * Provide a text-only alternative to audio or video. |
| containers to control indention. Both are common | | | | |