Creating a simple webpage with HTML

Introduction

Hello viewers, today we'll learn to create a simple webpage with HTML. First, you need to create a base file with an extension (.htm) or (.html). Usually, HTML files are named "index". So basically, your file would be an "index.html" and you need to open it in your text editor. Next, you need to write the code shown below.

Writing the Code

<html>
<head>
    <title>My first</title>
</head>
<body>
    Hello, my name is XYZ.
</body>
</html>



Congratulations! You successfully created your first webpage.

Comments

Popular Posts