Change - HTML

Created on Feb. 7, 2013, 1:13 p.m. by Hevok & updated on Feb. 11, 2013, 12:24 a.m. by Hevok

The HyperText Markup Language (HTML) is the main Markup language in the World Wide Web for creating Web pages and other information to be displayed in the browser. HTML is composed of elements that consists of tags. ¶

The Web is supposed to be used by humans
The Web is based on the Markup language HTML
* HTML describes: ¶

+ How information is presented
+ How information is linked
+ But not, what the information means

An HTML document has the following structure:: ¶

<!DOCTYPE html> ¶
<html> ¶
<head> ¶
<title>Document Title</title> ¶
</head> ¶
<body> ¶
<h1>Header</h> ¶
<p>Paragraph</p> ¶
</body> ¶
</html> ¶

Sections, Division & Lines ¶
-------------------------- ¶
These are tags to divide a page into sections and therelike. Use them ¶
effectively to structure the layout correctly. ¶

Div sion &lt;div&gt; &lt;/div&gt;

P aragraph &lt;p&gt; &lt;/p&gt;

Span &lt;span&gt; &lt;/span&gt;

Br eak line &lt;br&gt;

H o r izontal line &lt;hr&gt;

No br eaks <nobr> &lt;/nobr&gt;


HTML Table ¶
---------- ¶
The table tr and td tags allow the creation of tables, rows and columns: :: ¶

<table border="1"> ¶
<tr> ¶
<td>row 1, cell 1</td> ¶
<td>row 1, cell 2</td> ¶
<tr> ¶
</table> ¶


Form Options ¶
------------ ¶
The select, optgroup and option tags enable the creation of nested selection form: :: ¶

<select> ¶
<optgroup label="Groupname"> ¶
<optgroup label="Subgroupname"> ¶
<option value="1">Option 1 name</option> ¶
<option value="2">Option 2 name</option> ¶
</optgroup> ¶
</select> ¶


Turn a Picture Into a Link ¶
-------------------------- ¶
It is easy to turn a picture into a link. If you already know how to make a link, like this: &lt;a href="url_name"&gt;Click here!&lt;/a&gt;

And you already know how to present an image, like this: &lt;img src="picture_name.jpg" /&gt;


Then you can simple combine these two tags to create an image with a link embedded by simply replacing the text with code for an image: &lt;a href="url"&gt;&lt;img src="picture_name.jpg" /&gt;&lt;/a&gt;


Comment: Added a bullet list to summarize main points.

Comment on This Data Unit