Learn Basic HTML Complete Course part 22

1 min read

HTML Head

The HTML <head> element is used as a container for metadata (data about data). It is used between <html> tag and <body> tag.

The head of an HTML document is a part whose content is not displayed in the browser on page loading. It just contains metadata about the HTML document which specifies data about the HTML document.

An HTML head can contain lots of metadata information or can have very less or no information, it depends on our requirement. But head part has a crucial role an HTML document while creating a website.

Metadata defines the document title, character set, styles, links, scripts, and other meta information.



Following is a list of tags used in metadata:


  • <title>
  • <style>
  • <meta>
  • <link>
  • <script>
  • <base>


We will learn about this all tag in details in this tutorial.

You may like these posts

  • HTML ClassesClass Attribute in HTMLThe HTML class attribute is used to specify a single or multiple class names for an HTML element. The class name can be used by CSS and JavaScrip…
  • HTML LayoutsHTML layouts provide a way to arrange web pages in well-mannered, well-structured, and in responsive form or we can say that HTML layout specifies a way in which the we…
  • HTML Formatting TagsHTML Formatting is a process of formatting text for better look and feel. HTML provides us ability to format text without using CSS. There are many formatt…
  • HTML CharsetHTML Charset is also called HTML Character Sets or HTML Encoding. It is used to display an HTML page properly and correctly because for displaying anything correctly, a…
  • HTML Unordered List | HTML Bulleted ListHTML Unordered List or Bulleted List displays elements in bulleted (▫️) format . We can use unordered list where we do not need to…
  •  HTML EntitiesHTML character entities are used as a replacement of reserved characters in HTML. You can also replace characters that are not present on your keyboard by entiti…

Post a Comment