Difference between revisions of "Help:Contents"

From Syslinux Wiki
Jump to: navigation, search
(document ordered lists)
Line 33: Line 33:
 
The list had two new techniques; adding <EM>emphasis</EM> and making something <B>bold</B>.  Those are good to use sparingly, but be careful not to use them too often.
 
The list had two new techniques; adding <EM>emphasis</EM> and making something <B>bold</B>.  Those are good to use sparingly, but be careful not to use them too often.
 
</p>
 
</p>
 +
<P>
 +
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 &lt;OL&gt; as the start tag and &lt;/OL&gt; as the end tag.  The item tags are still &lt;LI&gt;.  Here is an example:
 +
</p>
 +
<OL>
 +
<LI>Item <EM>one</EM>.
 +
<LI>Item <B>two</B>.
 +
<LI>Item three.
 +
</OL>
 +
<P>
 +
What you need to type in the wiki editor to get that is this:
 +
</P>
 +
<pre>
 +
&lt;OL&gt;
 +
&lt;LI&gt;Item &lt;EM&gt;one&lt;/EM&gt;.
 +
&lt;LI&gt;Item &lt;B&gt;two&lt;/B&gt;.
 +
&lt;LI&gt;Item three.
 +
&lt;/OL&gt;
 +
</pre>

Revision as of 22:50, 26 July 2007

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>