Categories
- HTML Books
- HTML Colors
- HTML Characters
- HTML Tags
- <!--...-->
- <!doctype>
- <a>
- <abbr>
- <acronym>
- <address>
- <applet>
- <area>
- <b>
- <base>
- <basefont>
- <bdo>
- <big>
- <blockquote>
- <body>
- <br>
- <button>
- <caption>
- <center>
- <cite>
- <code>
- <col>
- <colgroup>
- <dd>
- <del>
- <dfn>
- <dir>
- <div>
- <dl>
- <dt>
- <em>
- <fieldset>
- <font>
- <form>
- <frame>
- <frameset>
- <h1>
- <h2>
- <h3>
- <h4>
- <h5>
- <h6>
- <head>
- <hr>
- <html>
- <i>
- <iframe>
- <img>
- <input>
- <ins>
- <isindex>
- <kbd>
- <label>
- <legend>
- <li>
- <link>
- <map>
- <menu>
- <meta>
- <noframes>
- <noscript>
- <object>
- <ol>
- <optgroup>
- <option>
- <p>
- <param>
- <pre>
- <q>
- <s>
- <samp>
- <script>
- <select>
- <small>
- <span>
- <strike>
- <strong>
- <style>
- <sub>
- <sup>
- <table>
- <tbody>
- <td>
- <textarea>
- <tfoot>
- <th>
- <thead>
- <title>
- <tr>
- <tt>
- <u>
- <ul>
- <var>
- HTML Tutorial
- HTML Software
- HTML Validator
Tools
Partners
HTML <head> Tag
Description:
The <head> tag is used for indicating the head section of the HTML document.
The head can contain other HTML tags that provide information about the document such as title, description, keywords etc. Most of this information is not displayed in the browser but can be useful for search engines etc. The head tag is placed between the <html> and the <body> tags.
Specific Attributes:
| Attribute | Definition |
| profile | Specifies the URI/URL of one or more meta data profiles. |
Other Attributes:
| Attribute | Definition |
| lang | Specifies a language code for the content in an element. |
| dir |
Specifies the text direction for the content in
an element.
|
Example Code:
<html>
<head>
<title>Title of the document</title>
</head>
<body>
The content of the document......
</body>
</html>



