HTML Get Started


In this tutorial, you'll learn the way easy it's to make an HTML document or a web page.


You need to use a code editor to write HTML codes or create an HTML document. Some popular free code editors are Notepad, TextEdit, VS Code, SublimeText, etc. You can also edit code or create HTML documents using Windows’ own text editor.

CoderWell Code Editor
We have created a text editor that you can use to create and test web files such as HTML, CSS, JavaScript, JQuery, and XML files.

Okay, let’s start by creating your first HTML page.

Creating your first HTML document

Let’s take the following steps. At the end of this tutorial, you will create an HTML file that displays the “Welcome to HTML Tutorial” message in your web browser.

Step 1: Creating the HTML file

Open the plain text editor on your computer and create a new file.

Tip : We suggest you use VS Code or SublimeText these are the most popular editor.


Step 2: Type some HTML code

Start with a blank window and type the following code:

Code Example:
<!DOCTYPE html>
<html lang="en">
<head>
    <title>Document Title</title>
</head>
<body>
    <h1>Welcome to HTML Tutorial</h1>
</body>
</html>


Step 3: Saving the file

You need to save the file “index.html” on your desktop

Note : You can use either .htm or .html format for file extensions. There is no difference between these two extensions. So anyone of them can be used. but Must change the file extension

 

To open the file in the browser. Navigate to your file then double click thereon. this may open in your default browser. If not, open your browser and drag the file into it.