<title> HTML Tag

In this article we will discuss about how to use the title tag in HTML.
  • 1685

The title tag in HTML is used to define the title of the HTML document. It comes under head tag and it is optional tag, it means we can put it or not it will depend on the requirement of our application.

HTML Code:

<html>

<head>

    <title>This is my first web page</title>

</head>

<body>

    A web page is the representation of a document which resides at a remote site.<br>

    This is key to understanding what the web itself is and the implications.<br>

    If a "web" document resides on the machine you are working from,<br>

    the document is called an HTML document.<br>

    A web page has the wonderful feature of allowing embeded references to other pages.

</body>

</html>

Output:

  meghapiccccccccc.jpg

Ask Your Question 
 
Got a programming related question? You may want to post your question here
 
Programming Answers here

 

© 2020 DotNetHeaven. All rights reserved.