29-05-2016, 01:53 AMRealistic Wrote:25-03-2016, 03:02 AMNSA Wrote:18-03-2016, 10:50 PMBilly Wrote: 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 :^)
"VERY basic HTML template"
"VERY"
This was made for those with no knowledge of HTML at all
Why this?
Code:<?php
header('Content-Type: text/html; charset=utf-8');
?>
Instead of this
Code:<meta http-equiv="content-type" content="text/html; charset=UTF-8">
Why that instead of this?
Code:
<meta charset="UTF-8">