Subversion Repositories HomeAutomation

Rev

Details | Last modification | View Log | SVN | RSS feed

Rev Author Line No. Line
15 arune 1
<html>
2
<head>
3
<title>Doc Style Guide</title>
4
<link rel="StyleSheet" href="doc.style.css" type="Text/CSS">
5
</head>
6
<body>
7
To use this style, simply take this html document as a skeleton for you
8
document and distribute it together with the CSS style file, doc.style.css,
9
that resides in the same folder as this document.
10
<h1>1 Heading 1</h1>
11
Spam spam spam spam. Spam spam spam egg bacon and spam.
12
 
13
<h2>1.1 Heading 2</h2>
14
Spam spam spam spam. Spam spam spam egg bacon and spam.
15
 
16
<h3>1.1.1 Heading 3</h3>(we really shouldn't need more than 3 heading levels)
17
<br>
18
<br>
19
<br>
20
 
21
This is worth <em>emphasing</em>!<br>
22
And I would like to have some marking colors like <span class="mark_red">red</span>, <span class="mark_green">green</span> and <span class="mark_blue">blue</span>.
23
<br>
24
<br>
25
<br>
26
 
27
A ordered list
28
<ol>
29
    <li>Item 1</li>
30
    <li>Item 2</li>
31
    <li>Item 3</li>
32
</ol>
33
<br>
34
 
35
A unordered list
36
<ul>
37
    <li>Item 1</li>
38
    <li>Item 2</li>
39
    <li>Item 3</li>
40
</ul>
41
<br>
42
 
43
Some source code
44
<pre>
45
    if (p->host == 0) {     // The packet is not for us
46
        passPacket(p);
47
    }
48
    else {                  // Give the packet to the right module
49
        modules[p->module_id]->coreMessage(p->message);
50
    }
51
</pre>
52
Sometimes you need to reference some <span class="code">function()</span> in the textflow.
53
<br>
54
<br>
55
<br>
56
 
57
Images should always have an <span class="code">alt</span> attribute and specified <span class="code">width</span> and <span class="code">height</span> attributes.<br>
58
<img src="" width="200" height="200" alt="This image is broken">
59
</body>
60
</html>