Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

7 Common HTML Mistakes You Should Avoid

Designing a good-looking, functional, interactive website is anyone's dream. However, if you want to choose your carrier as a Web Designer or web developer, you have to begin from somewhere. And if you are a beginner, mistakes are good for you to become an expert.

The following is a list of common Html mark up mistakes. Whether you are a beginner, web designer, or a programmer etc, try to avoid these mistakes.

  1. Don’t Use Line Breaks To Show A List

If you want to show a list of things in bulleted or numbered order, never use line breaks. Use unordered list

    or ordered list
    tags for this purpose.  Like this.
    1. Steve Jobs
    2. Bill Gates
    3. Linus Torvalds
    1. Structure the Page Correctly With Proper Tags

    A

    can work the same as a or a

    tag but it is important to understand which one is to be used where. These are just examples. There are many others like the tag and the tag. Once you know the difference you'll know which one should be used at a particular part of the page.

    1. Avoid Inline Styles

    You have probably heard this lot of times before. The straightforward mean of semantic HTML and CSS is to split document structure and styling, so there is no reason to place styling directly in HTML document. For example

    HTML =>

    Right

    CSS =>

    h2 .red{color: red;}

    1. Avoid Using Deprecated Elements

    Most of the web designer and web developer use some old HTML tags and attributes today, which have been declared deprecated by W3C consortium. Although modern browsers still support them, they might not in the future.

    1. Never use or

    According to W3C consortium, these tags have never been included in the official HTML standard. Along with this, their use is considered unprofessional and unimpressive. If you need to draw attention to a certain part of your document, use an alternative approach in a less offensive manner.

    1. Comments Are an Absolute Must

    Trust me it can be so difficult for you if you mention what a particular

    element does using comments.  It makes your code look unprofessional. Otherwise, you may have to sit on your system to go through a thousand lines of code and even then you might not spot the problem. Always be professional.
    1. Forget To Use Alt Attribute for Image Tags

    The Alt Attribute is considered as required one for IMG tags, it describes the context of the image. It assist web crawler to index your contents better. If the images are just for show, use an empty ALT attribute like alt=””.

    These are some common, easily avoidable mistakes. Review these carefully and be sure to validate your page for proper HTML.

    SpencerKinney is a well established Menomonie Web Design Company in the USA. We offer cost-effective quality website designing, time-bound, and value-added services that are required for technology innovative business solutions.



This post first appeared on 5 Important Pages That Every Website Needs, please read the originial post: here

Share the post

7 Common HTML Mistakes You Should Avoid

×

Subscribe to 5 Important Pages That Every Website Needs

Get updates delivered right to your inbox!

Thank you for your subscription

×