Simple HTML banner
Below you can find a min template for creating a static html banner
1. HTML
Static html banner is an html document containing an image that is made as a clickable link.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>XHTML Banner</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style type="text/css">
html, body { margin:0; padding:0; width: 240px; height: 400px }
body { overflow: hidden }
img { display: block }
</style>
</head>
<body>
<div>
<a href="{LINK_UNESC}" traget="_blank">
<img src="http://kinopark.by/i/squad.jpg" alt="img" />
</a>
</div>
</body>
</html>
Example of an HTML banner
2. Macros and parameters
The following parameters are used in the code:
Parameter | Value | Description |
---|---|---|
html, body { width: 240px } | 240px | banner width |
html, body { height: 400px } | 400px | banner height |
The following macros are used in the code:
Macro | Value | Description |
---|---|---|
{LINK_UNESC} | {LINK_UNESC} | Macro that is changed for a link to MediaSniper while being shown |
Click link
While clicking on a banner user is redirected to the MediaSniper link and after that to the address specified in the "referral link" field. It is needed so that MediaSniper can count the click in its system.
3. Age restrictions
The age rating refers to any advertising information services and products that mention information intended for specifiс age group according to Russian legislation.
Examples of products meant to be restricted:
• Audio and graphic content, films, TV and radio programs, movies
• Digital and printed materials, books
• Theatrical productions, music and concerts, mass events
• Games, various software
• feeding for babies under one year old as well as breast milk substitutes. Advertising of such products should contain a warning "Consult an expert. For children from [specify number] months."
Any of the listed above ads should contain age restriction (0+, 6+, 12+, 16+, 18+).
The age restriction may be specified in any ad element: in the title or any description line in the text ad, or anywhere in the graphic ad. Crucial is that the age rating must be understandable and noticeable.
If the product / service is intended for all age categories, you should put the category 0+.
Updated about 3 years ago