In HTML <h> tag can be described as a title or a subtitle that you want to display on the webpage.
These headings are defined with the <h1> to <h6> tags and displayed on the browser in the bold format and size of the text depending on the number of head tag that is used.
The <h1>tag stands for the most important heading and the <h6> stands for the least important heading.
HTML headings hightlight important topics and the document structure thus improving user engagement.
HTML Headings help the search engine to understand and index the structure of the web page.
The <head> element is the container for all the head elements, which provide machine-readable information about the document (metadata), or reference to other resources that are required for the document to display or behave correctly in a web browser.
The location of <head> element is between the <html> tag and the <body> tag.
The HTML elements that can be used inside the <head> element are: <title>, <base>, <link>, <style>, <meta>, <script> and the <noscript> element.
View HTML Source Code:
To view, the HTML source code right-click on the HTML page whose source code you want to view and select the “View Page Source”. It will open a window that contains the HTML source code of the page.
Inspect an HTML Element:
To inspect an HTML element right-click on an element or a blank area and choose “Inspect” or “Inspect Element” to see what elements are made up of.
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok