New answers tagged

4

The only part of that, where the browser would work harder, is having to parse the extra few characters for each selector. Insignificantly so because the majority of the work is done on creating a CSS Object Model, finding the elements, and applying the property values for each element. For something as small as applying font families, it's far easier to ...


0

It's really irrelevant, because you should minify any .css file that goes up. Your code is your signature. If you don't know how to minify .css -> here's the link. But.. from my perspective... I never write code like in Example 2, and it's little bit "wrong" to write css like that unless you are 100% sure that that's it; because if you change anything in ...


0

The text to code radio claim is one of the bigger myths out there on search engine optimization. What actually matters is the page load time not the ratio of text to code. If you have a lot of code compared to the text in your site this still isn't inherently a problem until the amount of code you have is causing significant load time issues. Google ...


3

When you donĀ“t put something in between, are your links even visible / klickable on your page? Normally you would attach a link to a picture like this. <a href="image1"><img src="example.jpg" alt="example pic"></a> If your images are created through CSS you should include the html elements on which the CSS is creating the images in ...



Top 50 recent answers are included