Home to Tips.com.my Tips.com.my - About Us Tips.com.my - Contact Us  
 

Html Tips - More About Bad Html Habits

January 8, 2009
Home  Computer   E-Learning  
Tags: html tips, html facts, html use, html habits, bad html habits,
Using HTML is the quite easy because of the structure of this language. But even after that the best HTML programmers can commit mistakes in the coding if they develop some bad HTML habits. In this article we will discuss some of the bad HTML habits which keep even some of the best HTML jockeys from gaining proper accessibility.

Let's discuss and try to understand some of the bad HTML habits developed by many of us. In the due course of time some of us may have been using the style sheets to the extent to alleviate the dependence on FONT formatting tags, but as you make your way through the HTML world, you will definitely find out that this is some code that may work but not to the exact specifications.

Bad HTML Habit 1
The first bad HTML habit is the improper use of headings. The user agents may be able to build a table of contents by reading the headings on a Web page. So, using H1 through H6 tags to structure your information is important, and using these tags simply to size text can cause problems.

Bad HTML Habit2
Transparent images have become a de facto workaround by which many Web builders elude HTML's layout imitations. These images, however, can make it difficult for user agents to distinguish between real content and ancillary images such as spacers. Instead, use style sheets to control margins, spacing, and other page elements. (CSS2 also offers new styles that address white space.)

Bad HTML Habit 3
Another no-no is using block quotes or list containers to control indention. Both are common workarounds used by Web builders to indent paragraphs or whole pages. The problem is that software may interpret and deliver information a certain way because of the tag.

So, a text-to-voice reader might interpret the block quote information as a quote and read it accordingly when, in fact, you were just trying to indent a paragraph. Again, style sheets offer the best solution; they allow you to separate the formatting and visual appearance of the material from the structure of the page.

Bad HTML Habit 4
Another culprit is the use of absolute text formatting tags instead of relative ones. B and STRONG, for example, may render the same in many browsers, but they do not mean the same thing. The STRONG tag, as well as the EM tag, was designed to indicate structural emphasis that could take the form of either a visual change (font, size, and style) or an audible change (inflection, volume, and pitch).

If you want to improve then don't ignore these tags
You need to provide alternative content if you're creating pages with certain elements:
When you use SCRIPT, provide NOSCRIPT information.
When using FRAMES, provide NOFRAMES information.
When using EMBED, provide NOEMBED information.
When using APPLETS, use ALT text.
When using FRAMESET, make sure to use TITLE.
Provide a text-only alternative to audio or video.


Article Source: http://www.tips.com.my


About the Author:
Start your path to becoming a genius web master by learning all about HTML tags at HTMLTAG.org.
Save & Share This Article About Html Tips
Other Related E-Learning Articles
  • Computer Based Training Vs Face To Face Training
    A look at how computer based health and safety training can be just as effective as personal training but less time consuming and costly.

  • Tags: DSE training, DSE risk assessment,

  • Get Started To Apply For An Online Education
    Applying to a college or university is a very lengthy process. Take the opinion of someone you know.

  • Tags: Online education, education, Online studies, admissions department, online admissions,

  • Health And Safety Relief
    A look at how charitable organisations and office based business's cope with health and safety training.

  • Tags: health and safety, e-learning,

  • Audio Books Make Useful Teaching Tools
    Many educators use computer technologies to teach their students about all sorts of subjects. There are audio books that contain great works in literature, science, geography, and mathematics.

  • Tags: JiggerBug coupon code, HPP CDs coupon, buzzymultimedia coupon code,

  • Spelling Games: A Fun And Easy Way To Learn
    Children love playing games. Learning while playing is fun and worth a big edge on their future. The application of on line games have death serious advantages.

  • Tags: Spelling Crisis, Spelling Success, Spelling secrets, Spelling internet, Spelling on line,

  • Health And Safety E Learning
    A look into the new on line training for Health and safety in the workplace.

  • Tags: health, and, safety, training, online,

  • Audiobook Help For Learning A New Language
    In the business world where everyone is practically running around, some important things can be left undone. For instance, you find yourself forgetting to hire a translator during a meeting with a French client. What do you do?

  • Tags: Whitman Nobel Academy web code, Two Little Hands Productions online coupons, Belford High School coupon code,

  • Put Pay Per Click To Work For You
    Some examples of how PPC can be beneficial to you and your on-line business.

  • Tags: affiliate marketing, affiliate programs, PPC,

  • Online Degree Programs Are They Worth The Money
    Today, in the comfort of your own home, it is practical and economical to pursue that long sought after degree you've desired.

  • Tags: online degree, online education, college degree,

  • Best Training Expands Support Forum To Handle Influx Of Confusion Following Office 2007'S Release
    Microsoft Training company offers support forum to the public to handle the sudden wave of questions following the release of Office 2007. The once paid-members only support forum is now free to all internet users who seek answers from Microsoft Training professionals about Office and Dreamweaver.

  • Tags: support forum,

    Can't find what you are looking for? Try Google Search
    Google
    Web www.tips.com.my
    Copyright 2008 - http://www.tips.com.my

    SITEMAP | Contact Us | Report Copyright Violation | Privacy Policy | Terms of Service