Web pages can be created and modified by using professional HTML editors.
However, for learning HTML we recommend a simple text editor like Notepad (PC).
We believe in that using a simple text editor is a good way to learn HTML.
Follow the steps below to create your first web page with Notepad.
Learn HTML with Notepad(PC)
Click on the Start Menu and search for notepad once you find it double click on it to open
Write some code
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
Save the file
To save an HTML code just go to the top right corner and click files then click save. A pop up menu would appear then you make sure you set the file type to all files and save with the .html extension (e.g file.html) and then click on the save button. You can check below pictures for a picture reference.
How to view the html file in your browser
Viewing an HTML file can be way easier than creating it... To view an HTML file all you have to do is go to the folder / directory you had saved it and double click on it.... BOOM!!! it opens up a browser window for you to view it. Picture reference below
That is it for this tutorial in the next one I will be teaching you how to view/edit an HTML document on your Android phone...








Comments
Post a Comment