HTML Snippet

 

The HTML Snippet allows you to add a small piece of HTML, JavaScript and CSS code inside the content area on your site. You can use this functionality to easily integrate PayPalTM Buy Now buttons or Shopping cart within your site or add external tools such as Google Analytics, Google AdSense and others. More advanced users may also use the HTML Snippet to integrate small custom-programmed tools and functions inside their website.

 

The HTML Snippet cannot be used for modifying the design, installing back-end scripting on the server or as a substitute of the content editing interface.

 

To add an HTML Snippet reach for the top menu and click Add Content > HTML Snippet. Green rectangles will appear to indicate the locations where the snippet may be added. Choose a location by clicking on a green rectangle and the Add HTML Snippet popup will be displayed. Add the code inside the box and Submit.

 

 

Your snippet may be used to display calendars, polls and other functionalities which are well visible on your page. In this case you may edit the snippet by just rolling over the feature displayed by the snippet. When the snippet is used to add Google Analytics code, style modification code or others, it will not have a visual repesentation. In this case, the location of the snippet you added will be denoted by a small placeholder . Rolling over the placeholder will allow you to access the snippet  Edit icon and edit it.

 

An HTML Snippet may also be added inside the Text and Images editor. This will let you easily position the snippet among your other text, align it, add the snippet inside a table, etc.

 

When adding custom code inside an HTML Snippet users are advised to double-check its correctness as faulty code pasted in the HTML snippet can spoil the appearance of a site or cause problems with the proper functioning of the website editing tools.