HOME
HTML Basic
HTML
Introduction HTML
Basic Tags HTML
Formatting HTML
Entities HTML
Links HTML
Frames HTML
Tables
HTML
Lists HTML
Forms HTML
Images HTML
Background HTML
Colors
HTML Advanced HTML
Fonts HTML
Styles HTML
Head HTML
Meta HTML
Scripts HTML Events
|
The Head Element
The head element contains general information called meta-information, about a document.
You can say that meta-data means information about data, in simple language i can tell information about websites.
Information Inside the Head Element
The elements inside the head element should not be displayed by a browser.
According to the HTML standard, only a few tags are legal inside the head section. These are: <base>, <link>, <meta>, <title>, <style>, and <script>.
<title> .........This Tag gives the title of the webpage
<meta>............in this rag you can give keywords,descriptions about the site
<style>...........this tag show that stylesheet is added
<script>..........this tag shows that we have used javascript or vbscript.
| Example
| output
My Home Page
Hi There! | Head Tags
| Tag |
Description |
| <head> |
Defines information about the document |
| <title> |
Defines the document title |
| <base> |
Defines a base URL for all the links on a
page |
| <link> |
Defines a resource reference |
| <meta> |
Defines meta
information |
|
| |