Front Page

Life | The Universe | Everything | Advanced Search
 
Front PageReadTalkContributeHelp!FeedbackWho is Online

or register to join or start a new conversation.

 
GuideML - ENTITY Tag

The <ENTITY> tag allows you insert numerical character entities - such as &#960; - which are illegal in GuideML. It can also be used to enter textual character entities, but it's easier simply to use entities like &pi; rather than the more long-winded <ENTITY TYPE="pi"/>.

Syntax and Usage

<ENTITY TYPE="...type..."/>

This will insert an entity into your article. The ...type... should be the part of an entity that comes after the & but before the semi-colon - all the tag does is to add an ampersand to the start of the argument, and a semi-colon to the end.

Known Issues

Some browsers don't display all entities properly, so before blaming GuideML, check that your browser isn't at fault. Netscape 4.73 on a Mac, for example, can't display the pi symbol properly if it's given as a textual entity &pi;, but displays it fine if it's a numerical entity &#960;. However the latter is illegal in GuideML, so if you want to make sure the pi symbol displays properly in Netscape, you should use <ENTITY TYPE="#960"/> instead of <ENTITY TYPE="pi"/> or &pi;, even though both of these are perfectly legal.

Example One

The copyright symbol is ©.

Example Two

The copyright symbol is ©.

Example Three

The copyright symbol is ©.

Further Information


Discuss this Entry  Click here to be the first person to discuss this Guide Entry





Add your Opinion!

There are tens of thousands of h2g2 Guide Entries, written by our Researchers. If you want to be able to add your own opinions to the Guide, simply become a member as an h2g2 Researcher. Tell me More!

 
Entry Data
Entry ID: A957242 (Help Page)

Edited by:
The H2G2 Editors


Date: 05   February   2003


Text only
Like this page?
Send it to a friend


 


Front PageReadTalkContributeHelp!FeedbackWho is Online

Please note that Not Panicking Ltd is not responsible for the content of any external sites listed. The content on h2g2 is created by h2g2's Researchers, who are members of the public. Unlike Edited Guide Entries, the content on this page has not necessarily been checked by a h2g2 editor. In the event that you consider anything on this page to be in breach of the site's House Rules, please click here .


About | Help | Terms of Use