Difference between revisions of "Help:Contents"

From Syslinux Wiki
Jump to: navigation, search
(show unordered list example)
Line 16: Line 16:
 
</p>
 
</p>
 
<UL>
 
<UL>
<LI>Item one.
+
<LI>Item <EM>one</EM>.
<LI>Item two.
+
<LI>Item <B>two</B>.
 
<LI>Item three.
 
<LI>Item three.
 
</UL>
 
</UL>
Line 25: Line 25:
 
<pre>
 
<pre>
 
&lt;UL&gt;
 
&lt;UL&gt;
&lt;LI&gt;Item one.
+
&lt;LI&gt;Item &lt;EM&gt;one&lt;/EM&gt;.
&lt;LI&gt;Item two.
+
&lt;LI&gt;Item &lt;B&gt;two&lt;/B&gt;.
 
&lt;LI&gt;Item three.
 
&lt;LI&gt;Item three.
 
&lt;/UL&gt;
 
&lt;/UL&gt;
 
</pre>
 
</pre>
 +
<P>
 +
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>

Revision as of 22:47, 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.