-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout.html
More file actions
52 lines (51 loc) · 1.05 KB
/
about.html
File metadata and controls
52 lines (51 loc) · 1.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>About Jelkner</title>
<style>
header {
display: flex;
margin: 2vw;
padding: 2vw;
border: 1px dotted #777;
}
header>img {
width: 15vw;
}
header>h1 {
width: 75vw;
text-align: center;
font-size: 2vw;
}
footer {
text-align: center;
}
footer>a, footer>a:visited {
text-decoration: none;
color: #555;
}
</style>
<script>
function init() {
var loc = window.location.href;
var HTMLvalidLinkStr = 'http://validator.w3.org/check?uri=' + loc;
var CSSvalidLinkStr = 'http://jigsaw.w3.org/css-validator/validator?uri=' +
loc + '?profile=css3';
document.getElementById("vLink1").setAttribute("href", HTMLvalidLinkStr);
document.getElementById("vLink2").setAttribute("href", CSSvalidLinkStr);
}
window.onload = init;
</script>
</head>
<body>
<header>
<img src="images/jelkner.jpg" alt="Jelkner">
<h1>About Jelkner</h1>
</header>
<footer>
<a id="vLink1"><strong> HTML </strong> Valid! </a> |
<a id="vLink2"><strong> CSS </strong> Valid! </a>
</footer>
</body>
</html>