You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
721 B
HTML
32 lines
721 B
HTML
2 years ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>Quotes</title>
|
||
|
<style>
|
||
|
</style>
|
||
|
<script>
|
||
|
function init() {
|
||
|
let loc = window.location.href;
|
||
|
let HTMLvalidLinkStr = 'http://validator.w3.org/check?uri=' + loc;
|
||
|
let 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>
|
||
|
<h1>Quotes</h1>
|
||
|
|
||
|
|
||
|
<footer>
|
||
|
<a id="vLink1">
|
||
|
<strong> HTML </strong> Valid! </a>
|
||
|
<a id="vLink2">
|
||
|
<strong> CSS </strong> Valid! </a>
|
||
|
</footer>
|
||
|
</body>
|
||
|
</html>
|