Team:Evry/wiki-guidelines
From 2012.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
In order to keep our wiki clean please follow these guidelines when writing HTML code: | In order to keep our wiki clean please follow these guidelines when writing HTML code: | ||
+ | |||
+ | <h1> Titles </h1> | ||
To put a title use the h1,h2,h3 tags: | To put a title use the h1,h2,h3 tags: | ||
<pre><h1> put your title here </h1></pre> | <pre><h1> put your title here </h1></pre> | ||
+ | |||
+ | <h2> Examples </h2> | ||
<h1> h1 title </h1> | <h1> h1 title </h1> | ||
<h2> h2 title </h2> | <h2> h2 title </h2> | ||
<h3> h3 title </h3> | <h3> h3 title </h3> | ||
+ | |||
+ | <h1> New line </h1> | ||
+ | |||
+ | If you want to end the current line use the br tag: | ||
+ | |||
+ | <pre><br/></pre> | ||
+ | |||
+ | <h2> Example </h2> | ||
+ | |||
+ | line1<br/> | ||
+ | line2 | ||
+ | |||
+ | <h1> Lists </h1> | ||
+ | |||
+ | <h2> Dotted </h2> | ||
+ | |||
+ | Use the ol to create a list and the li tag to add an item: | ||
+ | |||
+ | <pre> | ||
+ | <ul> | ||
+ | <li> item 1 </li> | ||
+ | <li> item 2 </li> | ||
+ | .. | ||
+ | </ul> | ||
+ | </pre> | ||
+ | |||
+ | <h3> Example </h3> | ||
+ | |||
+ | <ul> | ||
+ | <li> item 1 </li> | ||
+ | <li> item 2 </li> | ||
+ | .. | ||
+ | </ul> | ||
+ | |||
+ | <h2> Numbered </h2> | ||
+ | |||
+ | <pre> | ||
+ | <ol> | ||
+ | <li> item 1 </li> | ||
+ | <li> item 2 </li> | ||
+ | .. | ||
+ | </ol> | ||
+ | </pre> | ||
+ | |||
+ | |||
+ | <h3> Example </h3> | ||
+ | |||
+ | <ol> | ||
+ | <li> item 1 </li> | ||
+ | <li> item 2 </li> | ||
+ | .. | ||
+ | </ol> | ||
+ | |||
+ | <h1> Images </h1> | ||
+ | |||
+ | The two steps to add an image are: | ||
+ | |||
+ | <ol> | ||
+ | <li>Upload the image file using this page:</li> | ||
+ | </ol> | ||
+ | |||
+ | To include an image use the <img ... /> tag: | ||
+ | |||
+ | <pre><img src="localisation of the image" alt="text to print if image not found" /></pre> | ||
+ | |||
+ | <h2> Examples </h2> |
Revision as of 12:34, 13 July 2012
In order to keep our wiki clean please follow these guidelines when writing HTML code:
Contents |
Titles
To put a title use the h1,h2,h3 tags:
<h1> put your title here </h1>
Examples
h1 title
h2 title
h3 title
New line
If you want to end the current line use the br tag:
<br/>
Example
line1
line2
Lists
Dotted
Use the ol to create a list and the li tag to add an item:
<ul> <li> item 1 </li> <li> item 2 </li> .. </ul>
Example
- item 1
- item 2
..
Numbered
<ol> <li> item 1 </li> <li> item 2 </li> .. </ol>
Example
- item 1
- item 2
..
Images
The two steps to add an image are:
- Upload the image file using this page:
To include an image use the <img ... /> tag:
<img src="localisation of the image" alt="text to print if image not found" />