What are HTML head tag Elements?
The HTML head tag element is the container for storing meta data and is between the <html> tag and the <body> tag.
HTML Meta Data is information about HTML Document that is not displayed in the browser.
Meta Data usually refers to the title, character set, style, link, script and other information of the document.
These tags describe metadata: <title>, <style>, <meta>, <link>, <script> and <base>
The <base> element is used to set a basic URL and target for all URLs and target attributes on a web page:
Explanation: The image with the above code will be displayed from the image folder of this website and for this we did not have to give the path of the image folder. Again, we did not have to set any target for the hyperlink, because we have already set the target in the <base> tag, now if you click on the link, the link will open directly in a new tab. And here href and target are the attributes of the base tag
Tags are used to display the title of any web page in the title bar of the browser.
The code above will show the text “Our HTML Tutorials” in the title bar of the browser.
The <style> </style> tag is used to use the Internal Style sheet. E.g.
The <link> element is used to link the external stylesheet:
Elements are used to indicate character sets, page descriptions, keywords, page authors, and other metadata.
Metadata is used for browsers, search engines and other web services.
To indicate Character Set:
To give the description of Web Page:
To specify key words for search engine:
To indicate the name of the author of the page:
To refresh the document every 30 seconds:
All examples together: