Last active
June 18, 2018 10:11
-
-
Save tavisca-dpingale/73d0de3771334a049b0ff548335d2b58 to your computer and use it in GitHub Desktop.
HTML page structure / Importance of Head tag
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- CHARACTER SET META --> | |
<meta charset="UTF-8"> | |
<!-- VIEWPORT META --> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<!-- MICROSOFT OLD BROWSER COMPATIBILITY --> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<!-- DESCRIPTION META TAG --> | |
<meta name="description" content="Web page description"> | |
<!-- KEYWORDS META TAG --> | |
<meta name="keywords" content="HTML, CSS, XML, JavaScript"> | |
<!-- AUTHOR META TAG --> | |
<meta name="author" content="Dhananjay"> | |
<!-- TITLE META TAG --> | |
<title>Page Title</title> | |
<!-- LINK META TAG --> | |
<link rel="stylesheet" href="style.css" /> | |
<!-- STYLE META TAG --> | |
<style> | |
body {background-color: powderblue;} | |
h1 {color: red;} | |
p {color: blue;} | |
</style> | |
</head> | |
<body> | |
<div class="page-wrapper"> | |
CONTENT GOES HERE | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment