Tag Info

Hot answers tagged

13

Google have very recently stated that you should not block access to CSS or JS files in robots.txt. This ensures that when Google crawls the site, it can render it exactly as a browser would. If you block CSS or JS files, it could harm how well your website performs in the rankings. More info here: Updating our technical Webmaster Guidelines and here: ...


5

When the red, green, and blue values are "added" together, it really means "concatenated". Your #800080 color code can be split up like this: Red: 80 out of FF or 50% Green: 0 out of FF or 0% Blue: 80 out of FF or 50% It is the only 6 digit hexadecimal color code that will give that exact shade of purple. Other shades of purple can be produced when ...


4

See the following image: from ColorHexa The way this works: Each of the three colors has 16 shades from 00 to FF(Hex) which translates to 0 to 255(Decimal). You'll also notice that 255 is the equivalent of all ones in a Byte. Stay with me here: While remembering you have a Full byte for R, a Full Byte for G, and a full Byte for B, now you must add the ...


2

Google does not treat CSS content the same as that on page Generally Google will only attempt to index content that is actually embedded within the page content associated with an appropriate tag such as <img>. You can however attempt to force Google's hand by adding the path of the background image into a image sitemap. Some Schema markups require ...


1

The strategy for your robots.txt should always be answered by the question: which sections of my web must not be crawled by a robot and which sections may be crawled by a robot. Robots implement their own logic and have multiple purposes (not only Google has a crawler...) so if you're assuming that a robot get's somehow "distracted" by your CSS and JS ...


1

Templates are used by the blogging or content management software (CMS) application and should not be accessible externally where as CSS is read by the browser and search engines and should be read. Having said that, I would not block either one but I also would not change any that are by the CMS. Search engines and bots do not care about your templates. ...


1

Google does not reliably index text contained in JavaScript or CSS, even if it is visible to users on the page. I found out about the JavaScript part recently when I asked How can I get Google to index content that is written into the page with JavaScript? I also use text in css before on that site. If I search for the text that is in the CSS, Google ...



Only top voted, non community-wiki answers of a minimum length are eligible