Cascading style sheets (CSS) are a great way to control how Web pages look. They make it easy to separate the presentation from the structure of the content. However, some people go overboard and use CSS in ways it shouldn't. When this happens, AdSense publishers often find that the ads being displayed on their sites are mistargeted. What's happening?
As I explain in Make Easy Money with Google, HTML is a markup language. Its primary purpose is to describe the structure of a Web page. Tags let you specify which parts are headings, which are paragraphs, what the title is, and so on. HTML tags also let you format text using tags like and to indicate italic and bold text, for example. However, much of the formatting was done poorly and it polluted the content — there were tags all over the place and all kinds of tricks were done with
tags to get things to position where the Web page designers wanted them.The emergence of CSS removed the need for many HTML formatting tricks, which is great. HTML returned to describing the structure of a document. However, there are a few tags that you should not remove. For example, don't remove the header tags (
No comments:
Post a Comment