Last Updated on April 26, 2023 by Roshan Parihar
Learn how to use HTML head tag in web pages to add title, meta, and other head elements. If you want to link styles, scripts and meta description in webpages. You have to add and use the head tag.
Syntax
1 |
<head>some head elements comes here...</head> |
Example
1 2 3 4 5 6 7 8 9 |
<!DOCTYPE html> <html> <head> <title>This is the title.</title> </head> <body> Main content comes here... </body> </html> |
Resources and References of HTML head tag
1. W3C Specification.
2. HTML living standard
3. W3C project using Github