0
What is the correct method to start with html5
Method to start html5 <!doctype html> <html> </html> Or <html> </html>
3 Answers
+ 2
Check this lesson, your first option is correct without include <body> and <head> tag
https://www.sololearn.com/learn/HTML/1022/
+ 2
<!doctype HTML> means you are implementing HTML 5 code.
for more information
https://stackoverflow.com/questions/23230798/what-happens-if-i-dont-put-a-doctype-html-in-my-code-will-it-make-any-major
always use meta tags when you write HTML code in the head tag.
0
Bai Jilla if you go to the web playground you will see that it starts with:
<!doctype html>
<html>
<head>
<title>HTML structure</title>
</head>
<body>
</body>
</html>