5 basic mistakes not to commit while web coding

5 common Web Coding Mistake

In the era of internet savvy generation, every minute a website become live in World Wide Web (WWW). Now-a-days, it is not an easy task to strengthen position of a web portal in such a highly competitive online market where millions of similar websites are into existence. Its really very challenging job. Everyone wants his website ranked to be in top 10 search results of popular search engines like Google, Bing and Yahoo.

One should never forget that designing a clean, well structured and semantic website is not everybody’s cup of tea. The process of creating a web portal is really very complicated. In fact, the entire designing process requires lots of technical knowledge, designing skills, sharp as well as creative mind and lots more. Only a highly experienced web developer can design a quality website but sometime certain web coders make common mistakes while web coding. Since, in the modernistic times where everybody is looking for a quality web portal such blunders cannot be accepted.

A web programmer should always beware from committing the below mentioned five basic mistakes while web coding:

• Usage of tables

A web coder should never use the tables for the sake of framing a layout. In fact, by using tables for the layout one is actually making his markup uglier than anything. On the other hand, usage of tables for making layout leave a developer in a complex situation where he is unable to maintain codes. Therefore, it is better to say no to tables in order to make layouts.

• Usage of transitional doctype

In the field of web development, customization and integration, coding a website by using the HTML 4.01 “loose” doctype or the XHTML 1.0 Transitional doctype is considered bad practice. A web programmer should always code a web portal with strict doctype rather than HTML 4.01 “loose” doctype or the XHTML 1.0 Transitional doctype. This is because of the simple reason that there are numerous validation errors which are most commonly silenced with the transitional doctypes. These types of errors can cause serious problems.

• Writing codes for both CSS and HTML simultaneously

Writing codes for a website is the most important factor in the entire process of making a web portal. It should be done very carefully in a systematic manner. A web developer should always avoid writing codes for both CSS as well as HTML based markup language at the same time as a coder can lose his train of thought which ultimately result in messing up with the whole coding process and delay in work of coding a website. Therefore, a web programmer should firstly write codes for HTML and then start with the CSS mark up language.

• Making inline JavaScript and CSS

Inscription of JavaScript and CSS mark-up language in the HTML based files is mainly considered not an good option. By selecting this type of method, a person needs to re-load the page every time in case the CSS and JavaScript are not external browsers. On the other hand, an individual does not re-load them again and again if the CSS and JavaScript are external browsers as they can cache them.

• Capitalization of classes and IDs

The most common but savior mistake is using capital letters in classes and IDs. A web coder should always beware of using capital letters in classes as well as IDs. This is because of the simple reason that it is really tough for a web developer to maintain CSS codes along with some capitalized letters in classes and IDs.

Simply Share
Share on Google+0Pin on Pinterest0Share on Facebook0Tweet about this on Twitter

Recent Posts