on Thursday, January 20, 2005
Allowable Tags in the Introduction
All Articles must have an Introduction, which will be seen when a category is selected or whenever a keyword search is performed on the first page of the site. This Introduction can hold up to 2000 characters, so it may be enough for the entire story, particularly News items, or it could just be the first paragraph or summary (synopsis) of the full story.
Since the Introduction will be displayed in the context of a list of Articles, it must be restricted to a single paragraph such that any search result will be displayed consistently no matter how many Articles are found. For this reason, most HTML tags are forbidden, except for those tags that only adjust the style of the text. Allowable tags in the Introduction are...
Bold | | <B> |
Italics | | <I> |
em | | <EM> |
Big | | <BIG> |
Small | | <SMALL> |
Strong | | <STRONG> |
Underline | | <U> |
Typewriter | | <TT> |
S | | <S> |
Strike | | <STRIKE> |
Keyboard | | <KBD> |
Cite | | <CITE> |
CODE | | < CODE> |
Anchors | | <A HREF="http://www.something.com">...</A> |
You will notice that none of these tags cause lines or extra spaces to be inserted into the text. And although anchors (links) are acceptable, any javascript events embedded in a link, such as onClick, will be disabled by substituting a double-x as the method prefix.
An example of some desirable yet unacceptable tags in the Introduction would be <P>, <BR>, <PRE>, <BLOCKQUOTE>
and <IMG SRC="...">
, all of which could introduce format changes radical enough to cause the index of Articles to be displayed incorrectly. However, you can still use these and any other tags, especially for embedding tables, lists and images, by attaching a Story to your Article. Because a Story displays all by itself in a separate page, nearly every HTML tag is allowed.