forked from scg-unibe-ch/ese2018
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpresentation.html
More file actions
127 lines (122 loc) · 4.03 KB
/
Copy pathpresentation.html
File metadata and controls
127 lines (122 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/white.css">
<link rel="stylesheet" href="lib/css/zenburn.css">
<link rel="stylesheet" href="css/pocketgrid.min.css">
<style type="text/css">.half {
width: 50%
}</style>
</head>
<body>
<div class="reveal">
<div class="slides">
<section><h1>HTML + CSS </h1></section>
<section>
<h1>About</h1>
<p>HTML stands for <strong>H</strong>yper<strong>t</strong>ext <strong>M</strong>arkup <strong>L</strong>anguage.</p>
<p>It defines the structure of a website using markup tags. An html file must have an htm or html file extension.</p>
<p>Different versions of html exist. This tutorial only considers HTML5.</p>
</section>
<section>
<h1>HTML tags</h1>
<p>Tags are used to markup html elements.</p>
<p>Tags are opened with <strong><</strong> and closed with </p>
</section>
<section>
<h1>Basic structure</h1>
<section>
<div class="block-group">
<div class="block half">
<dl>
<dt>head</dt>
<dt>title</dt>
<dd>Title shown in the browser tab.</dd>
</dl>
</div>
<div class="block half">
<pre><code>
<html>
<head>
<title>Title</title>
</head>
<body>
This text will be displayed.
</body>
</html>
</code></pre>
</div>
</div>
</section>
</section>
<section>
<h2>Lists</h2>
<div class="block-group">
<div class="block half">
<ol>
<li>Apple</li>
<li>Banane</li>
<li>Pineapple</li>
</ol>
</div>
<div class="block half">
<pre><code>
<ol>
<li>Numbered item</li>
<li>Numbered item</li>
<li>Numbered item</li>
</ol>
</code></pre>
</div>
</div>
</section>
<section>Structure</section>
<section>Structure</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.js"></script>
<script>
Reveal.initialize({
dependencies: [
// Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
{
src: 'lib/js/classList.js', condition: function () {
return !document.body.classList;
}
},
// Interpret Markdown in <section> elements
{
src: 'plugin/markdown/marked.js', condition: function () {
return !!document.querySelector('[data-markdown]');
}
},
{
src: 'plugin/markdown/markdown.js', condition: function () {
return !!document.querySelector('[data-markdown]');
}
},
// Syntax highlight for <code> elements
{
src: 'plugin/highlight/highlight.js', async: true, callback: function () {
hljs.initHighlightingOnLoad();
}
},
// Zoom in and out with Alt+click
{
src: 'plugin/zoom-js/zoom.js', async: true, condition: function () {
return !!document.body.classList;
}
},
// Speaker notes
{
src: 'plugin/notes/notes.js', async: true, condition: function () {
return !!document.body.classList;
}
}
]
});
</script>
</body>
</html>