HTML tags are keywords surrounded by angle brackets
(<html tag>starts here </html tag> ends here).
HTML tags normally come in pairs like <p> and </p>.
There are TWO types of html tags , namely-
- Container Tags
- Non-Container Tags
Let’s find out the details below-
Description of HTML Tags-
<head> </head> tag-
<title> </title> tag- This tag contains the name of the web page that appears at the head of webpage ....
Example-
<!DOCTYPE html>
<html>
<!---Head section--->
<head>
<title> Welcome to First Web Page </title>
</head>
<!--Body section--->
<body>
<h1> Welcome To Our Web Page. </h1>
</body>
</html>
output:
<head> </head> tag-
<title> </title> tag- This tag contains the name of the web page that appears at the head of webpage ....
Example-
<!DOCTYPE html>
<html>
<!---Head section--->
<head>
<title> Welcome to First Web Page </title>
</head>
<!--Body section--->
<body>
<h1> Welcome To Our Web Page. </h1>
</body>
</html>
output:
No comments :
Post a Comment