Semantics, readability and updated structure

Changed HTML structure to a more concise and modern one, added Roboto font definition from Google Fonts
This commit is contained in:
Firebrand 2018-08-09 14:04:45 +07:00 committed by GitHub
parent 0fb6c0386f
commit 39f22f4f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 21 deletions

View File

@ -1,24 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>New Tab</title>
<link href="index.css" rel="stylesheet" type="text/css" />
</head>
<body>
<center>
<br><br><br><br>
<h1 class="time">
<div id="timemsg"></div>
</h1>
<h2 class="greeting">
<div id="greetingmsg"></div>
</h2>
<br><br><br><br><br><br><br><br><br><br>
<h3 class ="quote">
<div id="quotemsg"></div>
</center>
</body>
<script src="index.js"></script>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>New Tab</title>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="index.css" rel="stylesheet">
</head>
<body>
<div class="greeting"></div>
<div class="time"></div>
<div class="quote">
<div class="text"></div>
<span class="author"></span>
</div>
</body>
<script src="index.js"></script>
</html>