Help:Contents

From Syslinux Wiki
Revision as of 23:00, 26 July 2007 by Bls (talk | contribs) (Begin table of tags)

Jump to: navigation, search

Use simple text-only HTML when editing. For a new paragraph, surround the paragraph with the special paragraph tags. The start paragraph tag is <P> and the end paragraph tag is </P>. An example showing how to format this paragraph looks like this:

<P>
Use simple text-only HTML when editing.  For a new paragraph, surround the paragraph with the special
paragraph tags.  The start paragraph tag is &lt;P&gt; and the end paragraph tag is &lt;/P&gt;. 
An example showing how to format this paragraph looks like this:
</P>

One thing you noticed I'm sure was the some symbols are typed in a strange way. The less than symbol requires you to type &lt; and the greater than symbol requires you to type &gt;. This is because those symbols are used as part of the normal tags. If you really must enter an ampersand, you can type &amp; to get it.

Other HTML tags known to work are the unordered list tags. The tag to start an unordered list is <UL> and the tag to end an unordered list is </UL>. Each item in the list begins with a special tag to mark the start of the item, and that tag is <LI>. There is no tag to end an item in the list. An unordered list looks like this:

  • Item one.
  • Item two.
  • Item three.

What you need to type in the wiki editor to get that is this:

<UL>
<LI>Item <EM>one</EM>.
<LI>Item <B>two</B>.
<LI>Item three.
</UL>

The list had two new techniques; adding emphasis and making something bold. Those are good to use sparingly, but be careful not to use them too often.

If you want to have a list with numbers in front of the items like an outline, you just do the same thing as the unordered list, but you use <OL> as the start tag and </OL> as the end tag. The item tags are still <LI>. Here is an example:

  1. Item one.
  2. Item two.
  3. Item three.

What you need to type in the wiki editor to get that is this:

<OL>
<LI>Item <EM>one</EM>.
<LI>Item <B>two</B>.
<LI>Item three.
</OL>

I think you now see the pattern for these tags. An tag to end a mode is the same as the tag to begin the mode except that a slash character '/' is inserted immediately after the opening '<'. Also, the tags are designed to be easy to remember (if you know English).

</TR>

TagMeaning
<P>Paragraph start
</P>Paragraph end
<B>Bold start
</B>Bold end
<EM>Emphasis start
</EM>Emphasis end