Html5 sample syntax

1 min


1 share

html5 sample code
html5 sample code

The sample html5 code looks like this:-

<!DOCTYPE HTML>
<html>
<head>
<title>My Title goes here</title>
</head>

<body>
My content goes here…..
</body>

</html>

Here the only difference between html 4 and html 5 is doctype. The doctype has not ending tag.



Like it? Share with your friends!

1 share
Junaid Rehman

I am a blogger and freelance web developer by profession. I love to blog and learn new things about programming and IT World.