Banner ads, badges and embedded videos are often supplied to you as HTML
code and can be added to your site. You should not copy HTML code into
your site unless you know what you're doing
or the code is supplied to you by a reputable source as making mistakes
will likely cause problems.
You have two options for adding HTML code from an external provider to
your website. If the code is a banner ad then you would likely use an
HTML Link asset. If it is more complicated or long format, then you
would likely use the HTML/Text asset.
Using the Link Asset
- Copy the code provided to your clipboard
- Add a Link Group asset to a page here: Website Controls
> Manage Pages & Galleries > Click Edit beneath the
appropriate page > Page Content Tab > Add New Content Here button > Link Group Asset
- Click the HTML Link Tab
- Paste the code where specified
- Press the Update button
Using the HTML Asset
- Copy all the code between but NOT including the <body>...</body> tags
- Add an HTML asset to a page here: Website Controls > Manage Pages & Galleries > Click Edit
beneath the appropriate page > Page Content Tab > Add New Content
Here button > HTML/Text Asset
- Click the Source button at the top left of the HTML editor
- Paste your code
- Press the Update button
If any javascript code was provided to you as well then you must do the following:
- Copy the javascript code block including the <script language="javascript">...</script> tags
- Paste the code into the Custom Header Metatag section in the same page you added the HTML
As
we cannot guarantee that the pasted code will NOT conflict with ours,
you should test your pages in a number of popular browsers on different
OS's to make sure it works.
Please make sure to follow these rules when pasting in your own code:
- You should be careful to paste in only completed self-contained code. All tags must be opened and closed properly.
- Do not add code which includes the <html></html> or
<head></head> or <body></body> tags as our pages
already include these. You can copy the code between these blocks if
necessary.
- CSS stylesheets are not supported but you can add CSS to the custom header metatag of the page. Make sure the block starts with <style type="text/css"> and ends with </style>.
- Pasting in HTML code created in Microsoft Word is not supported as it tends to cause javascript errors.
Article ID: 53, Created: August 16, 2010 at 1:40 PM, Modified: May 16, 2012 at 1:57 AM