Welcome to WebmasterWorld Guest from 54.235.46.164

Forum Moderators: open

Message Too Old, No Replies

Will the lack of use of double quotes in html tags get penalized?

     
6:06 am on Jul 28, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Mar 8, 2003
posts:517
votes: 0


I have been having problem getting Google to update my index. I tried looking through every single bit of my coding and made sure everything are optimized.

One problem I found was, many HTML tags on my page are not double quoted when declaring values like bgcolor, src...etc. For example, it looks like this bgcolor=#AAAAAA instead of bgcolor="#AAAAAA".
My site uses alot of "White text on Colored background". It may sound stupid but could this be a problem that google thinks I have hidden text because the values in the tags are not double quoted? Maybe the bot only tries to pick up strings that says ="#whatever" instead of =#whatever?

I don't know. Any ideas?

1:06 pm on July 29, 2003 (gmt 0)

Preferred Member

10+ Year Member

joined:Mar 14, 2003
posts:508
votes: 0


All the pages on my site are like that, i.e. not double quoted, they are all in Google.

Just in case, as I update/add pages I'm going to double quote.

1:25 pm on July 29, 2003 (gmt 0)

Junior Member

10+ Year Member

joined:July 3, 2002
posts:82
votes: 0


If the html on your page is valid then there shouldn't be a problem. You can validate all your html at w3c.org. I found this quote at html-faq.com, hope it helps.
"HTML does not require the quotes unless there's a blank or slash in the value, but they don't hurt and they ARE required by XML (and XHTML)."
11:06 pm on July 31, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member g1smd is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:July 3, 2002
posts:18903
votes: 0



Remember to "Quote" all attributes, especially all "#FFFFFF" colors, all URLs, all "50%" sizes, and any other attribute value that contains anything other than a simple "A" to "Z" or "0" to "9" value. In HTML 4.01 it is recommended to quote all attribute values.
11:20 pm on July 31, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Oct 4, 2002
posts:666
votes: 0


>"HTML does not require the quotes unless there's a blank or slash in the value, but they don't hurt and they ARE required by XML (and XHTML)."

It is also mentioned that single or double quotes are valid.