News:

This week IPhone 15 Pro winner is karn
You can be too a winner! Become the top poster of the week and win valuable prizes.  More details are You are not allowed to view links. Register or Login 

Main Menu

Tutorial HTML - Conclusion

Started by ben2ong2, October 03, 2006, 06:15:19 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

ben2ong2

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.


You are not allowed to view links. Register or Login
You are not allowed to view links. Register or Login