HTML <head> tag

The <head> tag denotes the document head element of a HTML document.

The HTML <head> tag is a container to hold lots of metadata information about the content of the page.

The <head> element can contain the following tags: <base><link><meta><noscript><script><style> and <title>.

Example :

<!DOCTYPE html>
<html lang="en-US">
  <!-- title tag-->
  <title>This is Title</title>
  <!-- base tag-->
  <base href="https://www.codextreame.com/">
  <!-- meta tag-->
  <meta name="viewport" content="width=device-width, initial-scale=1" >
  <!-- link tag-->
  <link  rel="stylesheet" href="green.css">
  <!-- script tag-->
  <script src="/script/script.js"></script>

  <!-- The content of the web page appears in the body section. -->