Team:Aachen/HTMLprimer

From 2014.igem.org

(Difference between revisions)
Line 44: Line 44:
<p>
<p>
-
As a general side note. In HTML you <b>must</b> have (requirement!) a closing tag (starting &lt;/ <it>something</it>&gt) for each opened tag (&lt;<it>something</it>&gt)!
+
As a general side note. In HTML you <b>must</b> have (requirement!) a closing tag (&lt;/<i>something</i>&gt;) for each opened tag (&lt;<i>something</i>&gt;)!
</p>
</p>
Line 80: Line 80:
</br>
</br>
</br>
</br>
-
In HTML it is fairly easy to create a header. You can use the &lt;h1&gt; tags, where &lt;h1&gt creates the biggest header, and &lt;h6&gt is the smallest.
+
In HTML it is fairly easy to create a header. You can use the &lt;h1&gt; tags, where &lt;h1&gt; creates the biggest header, and &lt;h6&gt; is the smallest.</br></br>
 +
For creating line breaks simply use &lt;/br&gt; - <b>no opening</b> tag is needed!</br>
 +
As in every scientific publiction you should not use too many line breaks. If you start a new paragraph, open a new paragraph instead.
 +
</p>
 +
 
 +
<p>
 +
Paragraphs, as in continuous text, should be within the &lt;p&gt; ... &lt;/p&gt; tag. </br></br>
 +
Therefore a section in HTML could look like:
 +
 
 +
<textarea rows="5" cols="20" disabled>
 +
<h1>Big Header</h1>
 +
<h4>Small header (subcaption)</h4>
 +
 
 +
<p>
 +
Introduction text ...
 +
</p>
 +
 
 +
<p>
 +
Some other, unrelated text.
 +
</p>
 +
 
 +
<!-- TEXT ENDS HERE -->
 +
</textarea>
</p>
</p>

Revision as of 22:44, 3 May 2014

iGEM 2014 HTML Primer

everything a biologist1 needs to know

You will find an empty template of our website always here. Please do not alter that version. You can see who altered a file the last. So ^_^ beware!

Also for our all convenience, please restrict yourself to only edit text inbetween the following tags. If you happen to edit something other this is at your own risk, and most likely you will have to repair it on your own. Please do not alter any of the include files like footer or header!

As a general side note. In HTML you must have (requirement!) a closing tag (</something>) for each opened tag (<something>)!

Structuring your text

HTML knows some structuring elements. This section will tell you something about headings and paragraphs.

In HTML it is fairly easy to create a header. You can use the <h1> tags, where <h1> creates the biggest header, and <h6> is the smallest.

For creating line breaks simply use </br> - no opening tag is needed!
As in every scientific publiction you should not use too many line breaks. If you start a new paragraph, open a new paragraph instead.

Paragraphs, as in continuous text, should be within the <p> ... </p> tag.

Therefore a section in HTML could look like:

1. [In this sense, any biology related study program is meant.]