Web Design Tutorial & Website Development Tips

Quoting HTML attribute values - important HTML tip
By James
Published: 8 March, 2007
Print    Email

This is an important HTML tip.

The values of attributes can contain text, hexadecimal color codes or numbers. In case of JavaScript event handlers, the values consist of small JavaScript code. A sincere advice for good and clean HTML coding is to ALWAYS put quotes around attribute values. It is a good habit, will save you many headaches and avoid errors especially when attribute values contain spaces.

Thus, using BGCOLOR="#FFFFFF" instead of BGCOLOR=#FFFFFF results is greater browser compatibility and differentiates it nicely from the next attribute-value pair.

NZ Website Design Bookmarking

Add Web+Design+New+Zealand%7CAuckland+Website+Hosting%7CCheap+NZ+Domain%7CWeb+Design+Tutorial to del.icio.us
Digg Web+Design+New+Zealand%7CAuckland+Website+Hosting%7CCheap+NZ+Domain%7CWeb+Design+Tutorial
Submit Web+Design+New+Zealand%7CAuckland+Website+Hosting%7CCheap+NZ+Domain%7CWeb+Design+Tutorial to reddit.com
Submit Web+Design+New+Zealand%7CAuckland+Website+Hosting%7CCheap+NZ+Domain%7CWeb+Design+Tutorial to Blinklist
Web+Design+New+Zealand%7CAuckland+Website+Hosting%7CCheap+NZ+Domain%7CWeb+Design+Tutorial on Newsvine
Submit Web+Design+New+Zealand%7CAuckland+Website+Hosting%7CCheap+NZ+Domain%7CWeb+Design+Tutorial to Furl
Submit Web+Design+New+Zealand%7CAuckland+Website+Hosting%7CCheap+NZ+Domain%7CWeb+Design+Tutorial to Spurl

Client Login

Login:
Password:

Our Competitive Rates

Website Site Map

Website Search


Contacts

Need to contact us?

Click Here!

RSS Syndicator

Download film