Difference between revisions of "Allowed HTML Tags"

From Cacheopedia
Jump to: navigation, search
m (copy edit; fix technical error)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category:geocaching.com]]
 +
[[Category:Lists]]
 
==Allowed HTML Tags==
 
==Allowed HTML Tags==
 
The Geocaching.com 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.
 
The Geocaching.com 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.
Line 9: Line 11:
 
The following is an incomplete list of HTML tags that are allowed on cache pages:
 
The following is an incomplete list of HTML tags that are allowed on cache pages:
  
 
+
<b><nowiki><b>
<nowiki><b>
+
 
<i>
 
<i>
 
<u>
 
<u>
Line 20: Line 21:
 
<pre>
 
<pre>
 
<ol>
 
<ol>
<ul></nowiki>
+
<ul></nowiki></b>
  
 
==Adding Background Images==
 
==Adding Background Images==
To add a background image to a cache page, insert the following tag into the beginning of the cache description:
 
 
<nowiki><body background="IMAGE URL" bgproperties="fixed"></nowiki>
 
  
 +
To add a background image to a cache page, edit the listing for the cache and enter the URL for the background image in the "Background Image URL" field.
  
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 Geocaching.com 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.
+
Images can be uploaded to either the cache page or your user profile, but the Geocaching.com website will convert them to JPEG format if you do so. If the background must be in GIF or PNG format, upload it either 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.

Latest revision as of 00:40, 23 December 2006

[edit] Allowed HTML Tags

The Geocaching.com 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>

[edit] Adding Background Images

To add a background image to a cache page, edit the listing for the cache and enter the URL for the background image in the "Background Image URL" field.

Images can be uploaded to either the cache page or your user profile, but the Geocaching.com website will convert them to JPEG format if you do so. If the background must be in GIF or PNG format, upload it either 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