Welcome to WebmasterWorld Guest from 54.226.147.190

Forum Moderators: open

Message Too Old, No Replies

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

     

Raymond

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

10+ Year Member



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?

steve

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

10+ Year Member



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.

smokin

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

10+ Year Member



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)."

g1smd

11:06 pm on Jul 31, 2003 (gmt 0)

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




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.

Krapulator

11:20 pm on Jul 31, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



>"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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month