If you’re not familiar with HTML (Hyper Text Markup Language), it is the programming language used to write most webpages. It’s likely that your website uses a variety of different programming languages to perform different functions with data and apps that display on your webpages. However, an essential piece of every page on the Internet includes at least some bit of HTML. Every HTML document is constructed of bracketed tags instructing a browser on how to display the elements within the HTML. All webpages contain HTML elements composed of bracketed tags, including these 3 basic elements: HTML, HEAD and BODY. Each will be surrounded by brackets (<>) and appears twice. The second time, the brackets have a slash (</>) added. HTML documents have the following basic structure:
First is the HTML element. The opening HTML tag is the first thing you’ll see on the page source, and its closing tag is at the bottom of the page. These are the tags that start and finish the webpage.
Next is the HEAD element, which contains your header information (all webpages have some form of this), and is not visible when you view the page in your browser. This and the BODY element are both contained inside the HTML element, which is why they're both inside the HTML tags. Paste the ad code between the <BODY> and </BODY> tags.
Anything code you put between the BODY tags will display on a browser.