codeGK
Code it ALL
<head> in HTML - CodeGK

♦ <head> in HTML

♣ Example2: <head> in HTML

The "head" element contains meta information about the document
Some meta information examples are
  • title: ElementalPage
  • meta: name="viewport" content="width=device-width, initial-scale=1"
  • link: rel="stylesheet" type="text/css" href="styles.css"
In this example: 3 types of meta information is defined.
Example
Input:
Output: Title tag is displayed in tab, and rest two tags will function upon adding relevant code coresponding to them.
Basic_tags