skeleton for html code example

Example 1: html skeleton

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
    <h1>HTML Skeleton</h1>
    <p>Content</p>
</body>
</html>

Example 2: html5 skeleton

<!DOCTYPE html> <!-- proper HTML5 doctype -->
<html>

<head>
  	<meta charset="utf-8">
  	<title>Basic HTML Skeleton</title>
  	<meta name="author" content="">
  	<meta name="description" content="">
  	<meta name="viewport" content="width=device-width, initial-scale=1">

	<link href="css/normalize.css" rel="stylesheet">
  	<link href="css/style.css" rel="stylesheet">
</head>

<body>
  	<h1>Basic HTML 5 Skeleton Page</h1>
	<p>Hello, world!</p>

  	<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
  	<script src="js/script.js"></script>
</body>
  
</html>

Tags:

Html Example