Computer Science, asked by suhalk718, 2 months ago

we should be the first tag in any HTML document ?​

Answers

Answered by DarkAngel87
13

Answer:

The first HTML tag you want to include after the declaration of HTML,

<!DOCTYPE HTML>

<HTML language="US">

is the 'head' tag.

<!DOCTYPE HTML>

<HTML language="US">

<head>

</head>

Within the head tag, you want to include information about the web page. You generally want to include a title and metadata. This helps users and search engines.

<!DOCTYPE HTML>

<HTML language="US">

<head>

<!-- The Web Page title displays on the browser, it's tabs, and it's also the title for bookmarks and favorites -->

<title>The first tag in an HTML page</title>

<!-- The meta tag sets information for the web browser and always helps search engines display information for the web page. The meta charset sets the character encoding for the web browser. This allows your webpage do displayed with stricly English characters or international characters. -->

<meta charset="UTF-8">

<!-- You can display information about your web page on search engines by using the name and content attributes within the meta tag -->

<meta name="author" content="Joseph">

<meta name="description" content="This is an answer on Quora">

<meta name="keywords" content="HTML", "TAGS">

</head>

<body>

<h1>Thanks for reading

</body>

</HTML>

Explanation:

follow me

Similar questions