HashOut: 2007/03/15
This blog has moved. We welcome you to our new home at http://hashout.org

How to place google adsense code on web pages

I know that this post might sound silly, but there are indeed people coming to this blog searching for "step-by-step procedure to place google adsense code in our web pages". It's not necessary that all of them out there are an expert like you. So if you're new to HTML and web design, here is a guide to add adsense code to your webpage.


  1. The first step is to get your AdSense code.

    1. Sign in to your AdSense account
    2. Click AdSense Setup
    3. Click AdSense for content
    4. Choose the ad type you want then click Continue
    5. Choose the ad format and colors then click Continue
    6. Choose or create new channel(s) for the ad then click Continue
    7. Click anywhere on the Your AdSense code: box. The entire code will automatically be highlighted / selected. You'll know the code has been selected when the entire contents of the box are highlighted in blue. Now copy the highlighted code (Press Ctrl+C on a Windows PC or right click and click copy or from your browser's Edit menu, choose Copy in order to copy the highlighted area.).


  2. Now we'll proceed to paste the copied code to the HTML source of the webpage.

    HTML (Hyper Text Markup Language) is the programming language used to write web pages for the World Wide Web (WWW). Web browsers use HTML to interpret and display the contents of the web page. All HTML documents consist of elements contained within bracketed tags which tell the browser how to treat the contents of the element. Most HTML elements are contained within an opening tag <XXX> and a closting tag </XXX> where XXX is the tag identifier like HTML, HEAD, BODY, TABLE, DIV, SPAN etc. Some elements do not have a closing tag and are represented by the <XXX/> tag like BR, IMG etc. An HTML document has the following basic structure:

    <HTML>
    <HEAD>

    </HEAD>
    <BODY>

    </BODY>
    </HTML>

    The opening <HTML> tag indicates the start of an HTML document. The header information is enclosed between the HEAD tags (<HEAD> and </HEAD>) and is not displayed when you view the page in a browser. Any text between the BODY tags (<BODY> and </BODY>) is displayed in the browser. The closing </HTML> tag indicates the end of the HTML document.

    We need to place the ad code between the opening <BODY> and closing </BODY> tags of the source code.


    1. Open / Run your HTML editor
    2. Open your HTML source code file (Usually a .htm or .html file and if you are using server side scripting then the web page file would usually have a .asp, .jsp or .php file extension).
    3. Click to place the cursor on the spot where you want to place your ad. Now click Paste from the Edit menu.
    4. Once you've finished pasting the AdSense code in all the desired locations (currently you can have a maximum of three AdSense ad units on a page.), save the page and upload or publish your updated web page(s) to your web server.


Please note that the AdSense code which you pasted should look exactly the same after saving and publishing the page(s), else it might violate the AdSense Terms of Service (TOS) and might not even show the desired result.
» Continue reading

Read more on ,

Sony MEX-BT5000: A Revolutionary Bluetooth Car Stereo Head Unit

Sony MEX-BT5000 Bluetooth Car Stereo Head UnitDesigned for today’s mobile lifestyle with safety driving in mind, the MEX-BT5000 is the first Sony in-car audio-streaming AM/FM CD receiver head unit equipped with on-board Bluetooth wireless technology. It wirelessly links to Bluetooth mobile phones for making and receiving calls hands-free during a journey thanks also to a built-in microphone with integrated noise and echo reduction signal processing. It can also stream music from Bluetooth phones or music players if it supports A2DP and once it's paired. This stylish car stereo features an attractive minimalist design with a high visibility, full-motion fluorescent display that can even display phone book data.

You can even transfer and store up to 50 phonebook contacts and six speed dial entries from any compatible phone, then place calls using the unit.

The MEX-BT5000 supports the MP3, WMA and ATRAC codecs, as well as audio CDs. Music phones with Bluetooth technology, including the Sony Ericsson Walkman phones, work with the unit to stream music from the phone throughout the vehicle's stereo system.

It also has a DRIVE-S HX CD playback mechanism; Dynamic Soundstage Organizer II; 24-bit digital-to-analog conversion; and an S-MOSFET power stage that delivers 52-Watt x 4 channels. It comes with with a flip-down screen and white LED key illumination, a remote and Sony Bus Control for CD changers; and is satellite radio-ready.

You can check the price and even buy Sony MEX-BT5000 online at Amazon.
» Continue reading

Read more on ,

Catch Champion

Ricky Ponting's spectacular catchRicky Ponting stretches high to his left to catch Iain O'Brien.
Australian captain Ricky Ponting took 18 catches and set the record for the highest number of catches in the World Cup. Of the 18, 11 were taken in World Cup 2003 alone, gaining him the record for the most number of catches taken in a tournament. » Continue reading

Read more on ,