-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
165 lines (146 loc) · 3.7 KB
/
index.html
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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
<!DOCTYPE html>
<html lang="fr-FR">
<head>
<title>Initiation au code > html css javascript</title>
<!-- <meta name="description" content="..." /> -->
<!-- <meta name="keywords" content="html5 css3 javascript js" /> -->
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<!-- <link rel="canonical" href="https://exemple.com/url" /> -->
<meta
id="viewport"
name="viewport"
content="width=device-width, initial-scale=1"
/>
<meta name="robots" content="index, follow" />
<meta
name="robots"
content="max-snippet:-1, max-image-preview:large, max-video-preview:-1"
/>
<link
href="assets/style.css"
type="text/css"
rel="stylesheet"
media="all"
/>
<style>
html,
body {
margin: 0;
padding: 0;
}
#wrapper {
width: 80%;
margin: auto;
}
#main {
display: flex;
}
#content {
flex: 8;
}
aside {
flex: 4;
}
.rollover {
background-color: beige;
transition: all 1s;
}
.rollover:hover {
color: beige;
background-color: gray;
}
footer {
position: fixed;
bottom: 0;
color: #fff;
background-color: #222;
width: 100%;
padding: 1ex 10%;
text-align: right;
box-sizing: border-box;
}
footer a {
color: #fff;
font-weight: bold;
text-decoration: none;
}
</style>
<link rel="shortcut icon" type="image/ico" href="favicon.ico" />
<!--
<link rel="apple-touch-icon" href="apple-touch-icon.png" />
<link
rel="apple-touch-icon"
sizes="72x72"
href="apple-touch-icon-ipad.png"
/>
<link
rel="apple-touch-icon"
sizes="114x114"
href="apple-touch-icon-iphone4.png"
/>
-->
<meta property="og:title" content="Cours initiation au code" />
<meta property="og:description" content="HTML CSS JavaScript" />
<meta property="og:site_name" content="exemple.com" />
<meta property="og:type" content="article" />
<meta property="og:locale" content="fr_FR" />
<meta
property="og:image"
content="https://www.exemple.com/img/illustration.jpg"
/>
</head>
<body>
<div id="wrapper">
<header>
<h1>Initiation au code</h1>
</header>
<div id="main">
<div id="content">
<section id="html">
<h2>HTML:5</h2>
<h3>Eléments type block</h3>
<div> h[123...] section article
<h3>Eléments type inline</h3>
<span> i strong
</section>
<section id="css">
<h2>CSS:3</h2>
<span class="rollover">class rollover</span>
</section>
<section id="js">
<h2>Javascript</h2>
</section>
</div>
<aside>
<nav>
<ul>
<li><a href="#html">HTML:5</a></li>
<li><a href="#css">CSS:3</a></li>
<li>
<a href="#js">Javascript</a>
<ul>
<li>vanilla</li>
<li>jQuery</li>
</ul>
</li>
</ul>
</nav>
</aside>
</div>
</div>
<footer>
<span title="Formateur">
Antony GIBBS <<a href="mailto:antony@cantoute.com"
>antony@cantoute.com</a
>>
</span>
</footer>
</body>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="assets/script.js"></script>
<script>
//<!-- <![CDATA[
'use strict';
//]]> -->
</script>
</html>