Html5 sample syntax
The sample html5 code looks like this:-[code lang=”html4strict”] <!DOCTYPE HTML> <html> <head> <title>My Title goes here</title> </head> <body> My content goes here….. </body> </html>[/code] Here the only difference between html 4 and html 5 is doctype. The doctype has not ending tag.
The sample html5 code looks like this:-[code lang=”html4strict”] <!DOCTYPE HTML>
<html>
<head>
<title>My Title goes here</title>
</head>
<body>
My content goes here…..
</body>
</html>[/code] Here the only difference between html 4 and html 5 is doctype. The doctype has not ending tag.
Share this article
Written by : 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.
Follow us
A quick overview of the topics covered in this article.
Latest articles
February 12, 2025
February 12, 2025
February 12, 2025
February 12, 2025
February 12, 2025