|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Quotes around numbers in HTML?
Does putting quotes around numbers in HTML in various tags make a difference?
So like, does doing something like width="100" height="100%" border="0" differ from this: width=100 height=100% border=0 |
|
#2
|
||||
|
||||
|
Theoretically yes, actually... not always. The attributes are supposed to have quotation marks around them and without them it may cause problems with some browsers. In reality most browser software has code for interpretting quoteless attributes, and unclosed tags etc.. and this is what helps to make the software slow and bloated.
The XHTML standard was introduced to try and push people towards well defined code. |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Quotes around numbers in HTML? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|