HTML Header
Element |
Description |
HTML titleuse in header <title> |
It defines a title to display in the browser title bar and to use as a title while bookmarking the page. Ex: <!doctype html> <html lang="en-in"> <head> <title>Amazon Shopping</title> </head> </html> |
HTML link use in header <link> |
It is used to link any external file to your web page. It can be a stylesheet, shortcut icon etc.
Rules for defining a favicon:
and 32 x 32 pixels.
Create a Favicon and Link to Page:
<!doctype html> <html lang="en-in"> <head> <title>Amazon Shopping</title> <link rel="shortcut icon" href="icons/favicon.ico"> </head> </html> |
HTML scriptuse in header <script> |
It is an HTML element used to embed client-side and server-side scripts. JavaScript, jQuery, Angular JS, Node.js, ASP.NET etc. Ex: <script type="text/javascript"> </script> <script runat="server"> </script> |
HTML styleuse in header <style> |
It is an HTML element used to embed styles into the page. Style will make the page more attractive, responsive.
<style type="text/css"> </style> |
HTML metause in header <meta> |
|
Post a Comment
Post a Comment