In previous webpages, I point you to the AdSense help pages for information on code placement. If you made your way through those pages, you may already know where to put your code, but if you’re like me, you haven’t made it over there yet, so you’re still clueless. No worries. I help you get up to speed right now. Getting code where you want it
How you place the AdSense code on your site depends on how you’re accessing the HTML for your Web site. There are two basic ways to do it:
* Using a WYSIWIG (what you see is what you get) HTML editor: If that’s your weapon of choice, be sure to switch from Design view to HTML view.
* Using an HTML Insert capability: If your Web site design software application offers an HTML Insert feature, all you have to do is paste the HTML into the window provided and click OK.
In both cases, when you view your Web site (or preview your Web site), the ad should appear. Of course, it’s a little more complicated than that because you need to know exactly where to paste the code. If you’re using the HTML editor, you’ll have to navigate your way through
your HTML code. One major landmark to look for involves the tags on your Web site. You may remember from earlier webpages that a very scaled down version of your HTML might look something like this:
After the heading of your Web site comes the body. That looks like this:
It’s between those body tags that the code for your AdSense ads should be placed. If the code doesn’t appear between those body tags, the ads won’t show up on your Web site.
Now, if you go back and look at the source code for any given Web site (remember, you do this by choosing View➪Source or View➪View Source Web from your browser’s main menu), you see that there’s a whole lot of gobbledygook between the body tags. Basically everything that you see on your site below the header and above the footer will appear in there somewhere.
Knowing where in that jumble of code to paste your AdSense code makes all the difference in the world. It takes a little bit of trial and error to get the code in the right place if you’re not an HTML guru.
If you read through the HTML (don’t panic, after you focus on it for a few minutes, you begin to see the patterns that translate into a Web site), you’ll start to see common tags, like
(which means division) and (which indicates the beginning of a table).