RE: How a HEAD is defined in HTML?

How a HEAD is defined in HTML?

ankit Senior Developer Asked on June 9, 2018 in HTML.
Add Comment
1 Answers

The <head> element is a container for metadata and is used between the <html> & <body> tag.
Metadata typically define the document title, character set, styles, links, scripts, and other meta information.


<!DOCTYPE html>

<html lang="en-US">

<head>

<title>HTML head tag</title>

<meta charset="utf-8">

<meta name="viewport" content="width=device-width, initial-scale=1">

<meta name="Keywords" content="HTML,CSS,JavaScript,source code">

<meta name="Description" content="lots of examples of how to use HTML, CSS, JavaScript.">

<link rel="icon" href="images/favicon.ico" type="image/x-icon">

<link rel="stylesheet" href="css/style.css">

<noscript>

Your browser does not support JavaScript!

</noscript>

</head>

Team Leader Answered on July 4, 2018.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.