HTML Head

You are Here:

HTML Head

The HTML <head> tag is a container to hold lots of metadata information about the content of the page.

Metadata defines the document title, character set, styles, links, scripts, and other meta information.

Following is a list of tags used in metadata:

Example

HTML Online Editor
<!DOCTYPE html> <html lang="en-US"> <head> <!-- title tag--> <title>Page Title</title> <!-- base tag--> <base href="https://wikimass.com/"> <!-- meta tag--> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- link tag--> <link rel="stylesheet" href="green.css"> <!-- script tag--> <script src="/script/alert-me.js"></script> </head> <body> <h1>This is a Heading.</h1> <p onclick="myFunction()">Click Me.</p> <img src="books.png" width="100" height="100"> </body> </html>

Reminder

Hi Developers, we almost covered 99.5% of HTML Tutorials with examples for quick and easy learning.

We are working to cover every Single Concept in HTML.

Please do google search for:

Join Our Channel

Join our telegram channel to get an instant update on depreciation and new features on HTML, CSS, JavaScript, jQuery, Node.js, PHP and Python.

This channel is primarily useful for Full Stack Web Developer.

Share this Page

Meet the Author