It defines the entire HTML document and contains all the other HTML elements. The <html> tag typically includes two main sections: the <head> section, which contains meta-information about the document, and the <body> section, which contains the content that is displayed on the web page.
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>My Web Page</title> </head> <body> .... </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>HTML</title> </head> <body> <h1>Welcome to SakalaCode</h1> <p>My first HTML page.</p> <ul> <li>Item 1</li> <li>Item 2</li> <li>Item 3</li> </ul> </body> </html>