Showing posts with label How to write HTML using Notepad?. Show all posts
Showing posts with label How to write HTML using Notepad?. Show all posts

Tuesday, 2 May 2017

How to write HTML using Notepad?

In this post, I will explain how to write HTML using notepad.

Web pages are created and modified using HTML editors. But it is not necessary to have HTML editors to write HTML. By using a simple text editor like Notepad we can write HTML.

Follow the steps below to create a webpage using Notepad.
1. Open Notepad
a.      For Windows 8 or later
Go to Start Screen then type Notepad in the provided search box.
b.      For Windows 7 or earlier
Go to Start >> Programs >> Accessories >> Notepad.

2.  Write HTML in notepad
Sample HTML code,

<!DOCTYPE html>
<html lang="">
<body>
<h1>Sample HTML Code</h1>
</body>
</html>

3.  Save notepad file on your computer with the extension .htm or .html.
For example – sample.htm or sample.html

4. Open saved HTML file in a browser to view