HTML provides following basic tags to work with hypertext documents.


Example 1: "welcome.html"
<html>
<head>
<title>Welcome</title>
</head>
<body>
<h1>Welcome to HTML</h1>
</body>
</html>

Output:
welcome

Blocks in HTML


Example 2: "blocks.html"
<html>
<head>
<title>Blocks Example</title>
</head>
<body bgcolor="#9ae5e5">
<h1 align="center">HTML</h1>
<hr/>
<p> HTML stands for Hyper Text Markup Language,It used to create static web pages.<br/>
HTML supports different types of tags those are html,head,title,h1,h2 and etc..</p>
Heading tags are <br/>
<h1>HTML</h1>
<h2>HTML</h2>
<h3>HTML</h3>
<h4>HTML</h4>
<h5>HTML</h5>
<h6>HTML</h6>
</body>
</html>

Output:
blocks