Pages

difference between html4 and html5 syntax

Friday, 4 October 2013

html4

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<link type="text/css" rel="stylesheet" href="lounge.css">

<script type="text/javascript">
var yourVaribalName = true;
</script>

html 5 

<!doctype html>

<meta charset="utf-8">

<link rel="stylesheet" href="lounge.css">

<script src="lounge.js"></script>

<script>
var yourVaribalName = true;
</script>
 

Most Reading