Introduction of html head section (<head></head>)
Situation : We want to post a letter then we need following task.
- First we need to write letter.
- Then we put in the envelope.
- Write address and other information on the envelope.
- Envelope contains necessary information about letter.
From above points we can say head section for html page works as envelope which contains necessary information about it. such as page title, keywords information, css links, javascript links etc.
Title <title></title> tag This tag is used for page title or page name. This information is helpful for web browser for identifying page among others.
Title <title></title> tag This tag is used for page title or page name. This information is helpful for web browser for identifying page among others.
Syntex <title>your page title put here</title>
Meta <meta></meta> tag This tag is used for search engine and seo purpose. We define inportant keyword and description about the page here.
Syntex <meta name="name of meta tag" content="content of meta tag" />
Example
<meta name="keywords" content="head,html head,basic of head" />
This meta tag is used by search engine. Using these words search engine come to your page when someone typed.
<meta name="keywords" content="head,html head,basic of head" />
This meta tag is used by search engine. Using these words search engine come to your page when someone typed.
Example
<meta name="description" content="study about head section of html" />
This tag gives brief introduction about your page to search engine.
<meta name="description" content="study about head section of html" />
This tag gives brief introduction about your page to search engine.
Style <style></style> tag this tag is used for including stylesheet in the webpage or defining css in the page
Syntex <style type="text/css"></style>
Script <script></script> tag this tag is used for including javascript in the webpage or defining script in the page
Syntex <script type="text/javascript"></script>
No comments:
Post a Comment