Frontend Development

VERY basic HTML template

Submitted by NSA, , Thread ID: 10768

Thread Closed

RE: VERY basic HTML template

This post was last modified: 18-03-2016, 10:50 PM by Billy
#29
This is extremely basic

Here's a REAL template

Code:
<?php
header('Content-Type: text/html; charset=utf-8');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<title>Your page title</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Description of website">
<meta name="keywords" content="Search engine keywords">
<meta name="author" content="You">
<link rel="shortcut icon" href="/favicon.ico"/>

<!--[if lt IE 9]>
<script src="/home/https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="/home/https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<h1>My First Heading</h1>

<p>My first paragraph.</p>
</body>
</html>

Complete with device, browser and screen responsiveness, proper UTF-8 encoding, language, favicon and SEO ranking improvers

oh and php :^)

Users browsing this thread: 43 Guest(s)