»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 10-13-2003, 09:40 PM   #1 (permalink)
Registered User
 
librab103's Avatar
 
Join Date: Sep 2003
Location: Florida
Posts: 101
librab103 is on a distinguished road
Send a message via AIM to librab103
Gaming to quote or not to quote

How many people when designing a web pages use quotations around their variables (Don't know if that's the real name for them). like this -- border="0" or border=0 .

__________________
(friend) WHAT!!!!..... Are you crazy???(me) Yes I am
librab103 is offline   Reply With Quote
Old 10-13-2003, 09:42 PM   #2 (permalink)
Banned
 
Join Date: Nov 2002
Location: Seattle, WA
Posts: 3,289
iNeb is on a distinguished road
Send a message via AIM to iNeb
I quote, doesn't mater to me.
iNeb is offline   Reply With Quote
Old 10-13-2003, 09:46 PM   #3 (permalink)
Registered User
 
Dj-Icer's Avatar
 
Join Date: May 2003
Location: Neo Japan
Posts: 1,175
Dj-Icer is on a distinguished road
I use quote. Perhaps it'd be even clearer if you submit your thread with polls so that we could see how many of us use quote.
__________________
|c3R
Dj-Icer is offline   Reply With Quote
Old 10-13-2003, 09:47 PM   #4 (permalink)
Registered User
 
Droppyale's Avatar
 
Join Date: Dec 2002
Location: -----------
Posts: 1,798
Droppyale is on a distinguished road
Send a message via AIM to Droppyale Send a message via Yahoo to Droppyale
it depends... if I am using php no quotes...

for just plain html quotes...
Droppyale is offline   Reply With Quote
Old 10-13-2003, 10:46 PM   #5 (permalink)
Registered User
 
OuTpaTienT's Avatar
 
Join Date: Oct 2001
Location: Bay Area, CA USA
Posts: 6,966
OuTpaTienT is on a distinguished road
Send a message via ICQ to OuTpaTienT
I've started always using quotes because it seems to make it easier whenever I have to go back to my html files and do a search 'n replace.

Foir example, searching and auto replacing for a value like left, center, right, top, bottom could be dangerous if the document has a lot of text in the body. But doing the same search for "left", "center", etc. I could be fairly certain only the values I want to be changed will be.

Yes I know even without quotes I could search for =left, =center, etc. But much of my sloppy code is inconsistant and sometimes I have spaces after equal signs, sometimes not. But I always keep quotes tight around whatever they enclose...just an old habit from when I learned to type.
OuTpaTienT is offline   Reply With Quote
Old 10-14-2003, 12:39 AM   #6 (permalink)
Registered User
 
crouse's Avatar
 
Join Date: Jun 2002
Location: Iowa
Posts: 2,527
crouse is on a distinguished road
Send a message via ICQ to crouse
http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2

Quote:
By default, SGML requires that all attribute values be delimited using either double quotation marks (ASCII decimal 34) or single quotation marks (ASCII decimal 39). Single quote marks can be included within the attribute value when the value is delimited by double quote marks, and vice versa. Authors may also use numeric character references to represent double quotes (") and single quotes ('). For double quotes authors can also use the character entity reference ".

In certain cases, authors may specify the value of an attribute without any quotation marks. The attribute value may only contain letters (a-z and A-Z), digits (0-9), hyphens (ASCII decimal 45), periods (ASCII decimal 46), underscores (ASCII decimal 95), and colons (ASCII decimal 58). We recommend using quotation marks even when it is possible to eliminate them.
__________________
The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners. --- Author Unknown.
crouse is offline   Reply With Quote
Old 10-14-2003, 03:29 AM   #7 (permalink)
Registered User
 
librab103's Avatar
 
Join Date: Sep 2003
Location: Florida
Posts: 101
librab103 is on a distinguished road
Send a message via AIM to librab103
Yea I use them for the same reason OuTpaTienT has.
__________________
(friend) WHAT!!!!..... Are you crazy???(me) Yes I am

Last edited by librab103; 10-14-2003 at 03:31 AM.
librab103 is offline   Reply With Quote
Old 10-14-2003, 06:38 AM   #8 (permalink)
Registered User
 
Join Date: Oct 2001
Posts: 3,539
ClubMed is on a distinguished road
I use them too, it's simply a habit.
ClubMed is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 06:28 AM.