Computer Science, asked by baby6598, 1 year ago

What should be the first tag in any HTML document

Answers

Answered by harshika8437
6

Answer:

The first tag in any HTML file is the <HTML> tag. This tells web browsers that the document is an HTML file.

The second tag is a <HEAD> tag. Information between the HEAD tags doesn't appear in the browser window, but is still important. It is called meta information. The most important meta information in the HEAD tag is the <TITLE> tag.

Answered by AnushGudimetla
8

Answer:

Normally, the first tag of any HTML document should be <HTML>. But, in case of a Javascript HTML, the first tag should be <!DOCTYPE HTML>.

Example -

<html>

    <head>

         <title>Title</title>

    </head>

    <body>

         Content here

    </body>

</html>

Similar questions