Team:Evry/wiki-guidelines

From 2012.igem.org

(Difference between revisions)
Line 23: Line 23:
line1<br/>
line1<br/>
line2
line2
 +
 +
<h1> Bold/Italic </h1>
 +
 +
Use the em tag to put your text in italic:
 +
 +
<pre><em> text in italic</em></pre>
 +
 +
Use the strong tag to put your text in bold:
 +
 +
<pre><strong> text in bold</strong></pre>
 +
 +
<h2> Example </h2>
 +
 +
<em> coucou </em> <- italic<br/>
 +
<strong> coucou </strong> <- bold
<h1> Lists </h1>
<h1> Lists </h1>
Line 28: Line 43:
<h2> Dotted </h2>
<h2> Dotted </h2>
-
Use the ol to create a list and the li tag to add an item:
+
Use the ul to create a list and the li tag to add an item:
<pre>
<pre>
Line 47: Line 62:
<h2> Numbered </h2>
<h2> Numbered </h2>
 +
 +
Use the ol to create a list and the li tag to add an item:
<pre>
<pre>
Line 55: Line 72:
</ol>
</ol>
</pre>
</pre>
-
 
<h3> Example </h3>
<h3> Example </h3>
Line 64: Line 80:
..
..
</ol>
</ol>
 +
 +
<h1> Links </h1>
 +
 +
To add a link use the a tag:
 +
 +
<pre><a href="url to link">link name</a></pre>
 +
 +
<h2> Example </h2>
 +
 +
Here is a link to <a href="https://2012.igem.org/Team:Evry">our wiki</a>.
<h1> Images </h1>
<h1> Images </h1>

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

Bold/Italic

Use the em tag to put your text in italic:

<em> text in italic</em>

Use the strong tag to put your text in bold:

<strong> text in bold</strong>

Example

coucou <- italic
coucou <- bold

Lists

Dotted

Use the ul 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

Use the ol to create a list and the li tag to add an item:

<ol>
<li> item 1 </li>
<li> item 2 </li>
..
</ol>

Example

  1. item 1
  2. item 2
  3. ..

Links

To add a link use the a tag:

<a href="url to link">link name</a>

Example

Here is a link to <a href="https://2012.igem.org/Team:Evry">our wiki</a>.

Images

The two steps to add an image are:

  1. 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" />

Examples