What are <h1>, <h2>, <h3>, <h4>, <h5>, <h6> HTML Tags?
These <h1>, <h2>, <h3>, <h4>,
<h5>, and <h6> elements are used to create headings in descending
order of importance where <h1> is the most important and <h6> the
least important.
File Name: "demo.html"
<html>
<html>
<head>
<title>Demo Page</title>
</head>
<body>
<h1>Hi Welcome to the first basic html program! </h1>
<h2>Hi Welcome to the first basic html program! </h2>
<h3>Hi Welcome to the first basic html program! </h3>
<h4>Hi Welcome to the first basic html program! </h4>
<h5>Hi Welcome to the first basic html program! </h5>
<h6>Hi Welcome to the first basic html program! </h6>
</body>
<title>Demo Page</title>
</head>
<body>
<h1>Hi Welcome to the first basic html program! </h1>
<h2>Hi Welcome to the first basic html program! </h2>
<h3>Hi Welcome to the first basic html program! </h3>
<h4>Hi Welcome to the first basic html program! </h4>
<h5>Hi Welcome to the first basic html program! </h5>
<h6>Hi Welcome to the first basic html program! </h6>
</body>
</html>
Watch the below video for more details on the above program:
*************************************************************************
No comments:
Post a Comment