HTML Head Tags

HTML head tags

In this episode of HTML tutorials, I am going to teach you the HTML Head tags. Before we get into it, You should know what head and body means in html. first of all write “<!DOCTYPE html>” in the visual studio code or any programming area that you have choosed (if you do not have any coding area please read the previous tutorial). Then type “<html> </html>”, then enter “<head> </head>” like the picture. Now we will write our head tags , these tags would appear on tab’s head.

Meta tags

Meta is one of the first HTML head tags that we will discuss. You can not see the meta tags in any web page (except you open its source code), Meta tags used by search engines in order to identify your page more easier and faster. I have written the most useful meta tags for you in down below.

<meta charset=”UTF-8″ />(global writing form)

<meta name=”viewport” content=”width=”device-width, initial-scale=1.0″ />(this and above one is necessary)

<meta name=”author” content=”(your name)” />

<meta name=”description” content=”(description that you want to give for your page)” />

<meta name=”keywords” content=”(keywords that search engines will use to find your website)” />

<meta name=”copyright” content=”(your name or your site’s name)” />

<meta name=”category” content=”(write the category)” />

<meta name=”subject” content=”(write the subject of your page)” />

there are much more meta tags, I have showed you the most important ones If you want to learn more, you can search “HTML Meta tags” and see all of the meta tags.


Title shows the tab’s title, that is why it called title. For example This page’s title is ” HTML, Head tags “. For creating a title just type “<title>(your title)</title>” and you could see the result on the live server extension (visual studio code).

Share This Article on social media


this blog is written by Erfan Samadi

 I hope you enjoyed! feel free to leave comment.

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x
Erfan Samadi