Allowed HTML Tags

From Cacheopedia
Revision as of 00:27, 12 June 2005 by (Talk)

Jump to: navigation, search

Allowed HTML Tags

The website limits the types of HTML tags that may be used on cache page descriptions. For example, Javascript and CSS are not allowed for security reasons. The tags that are still allowed, however, provide more than enough functionality to allow a hider to customize their cache pages.

In order to effectively use HTML on your cache pages, it helps to have a basic understanding of HTML. Searching the web for "HTML Tutorial" should turn up numerous tutorial sites for beginners.

Before adding HTML tags to your cache description, be sure to check the "The descriptions below are in HTML" button on the Report/Edit Page. Otherwise, the website will strip all HTML from the description. Also, be sure to either enclose each paragraph in <p> tags or follow them with <br> tags, since line breaks in the description may be lost and all of the text on the page will run together.

The following is an incomplete list of HTML tags that are allowed on cache pages:

<b> <i> <u> <br> <p> <a> <img> <font> <pre> <ol> <ul>

Adding Background Images

To add a background image to a cache page, insert the following tag into the beginning of the cache description:

<body background="IMAGE URL" bgproperties="fixed">

Replace IMAGE URL in the text above with the address of the image you wish to use. Also, be sure to check the "The descriptions below are in HTML" button. Images can be uploaded to either the cache page or your user profile, but the website will convert them to .jpg format if you do so. If the background must be in .gif format, either upload it to your own site or to a site that provides image hosting. Be sure that the URL does not begin with C:// or file:// since these URLs point to files on your computer and only you will be able to see them.

Personal tools