+ 1

What are the things that I can add in <head></head>?

Things in <head>

11th Apr 2017, 11:17 AM
Jatin Kumar
Jatin Kumar - avatar
2 Antworten
+ 8
things that can be add inside head tag is title, style , link , meta , script and many more
11th Apr 2017, 11:20 AM
sonali
sonali - avatar
+ 6
Following items can be included in <head></head> 1. <base> specifies an explicit URL used to resolve links and references to external sources such as images and style sheets Syntax <base href=url target=win_name|_blank|_parent|_search|_self| _top> 2. <link> enables the current document to establish links to external documents. Syntax <link disabled href="url" media="screen|print|all" rel="stylesheet" type="stylesheet"> 3. <meta> Conveys hidden information about the document to the server and the client. Syntax <meta content=description http-equiv=response name=text> <script> Specifies a script for the page that is interpreted by a script engine. Syntax 4. <script language="javascript" src=url> </script> The <script> element requires a closing tag 5. <style> Specifies a style sheet for the page. Syntax <style disabled media = screen|print|all> </style> The <style> element should appear in the HEAD section of an HTML document. The <style> element is a block element and requires a closing tag. 6. <title> Contains the title of the document. Syntax <title> string </title> Remarks Any text between the opening and closing <title> tags displays in the browser title bar. The <title> element is a block element and requires a closing
11th Apr 2017, 11:40 AM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar