Is it necessary to use Html tag in web page ?

because even without using html tag works. body tag and other tags works perfectly

Your Answer

No, it is not strictly necessary, but it is recommended to use the <html> tag.

Why?
It defines the root of the webpage
Helps browsers and search engines understand structure
Required for proper and standard HTML
Example:
HTML
<html>
  <head></head>
  <body></body>
</html>
Exam answer:
The <html> tag is not always required, but it is recommended because it defines the root of the document and ensures proper structure.

Html

Didn't get the answer.
Contact people of Talent-Html directly by clicking here