Where to write HTML?
You don’t have to worry at all you need a text editor to write HTML codes. You can use Notepad or Textedit window application for writing HTML program. By using these editors we can easily change and develop web pages effectively. It is suggested that while doing hands-on you should use editors like Notepad or Textpad in your initial learning days.
Below are given a few steps for creating the first program in HTML.
1. Download Notepad and open it
Click on start > Programs > Accessories > Notepad
Or
Search in the bar after clicking the window button.
2. Open the editor and start writing it
Write this code in the editor
<!DOCTYPE html>
<html>
<body>
<h1>Hello folks</h1>
<p>How are you</p>
</body>
</html>
3. Now save the file as a .html extension
You need to save the file on your computer and set the encoding to UTF-8 which is preferred for HTML Files.
Select File > Save as in the Notepad Menu
4. Open the file using the web browser
You need to open the file by selecting a web browser like google Crome, Mozilla Firefox or opera, etc.
This is how it will look!
Hello folks
How are you
Play Live with HTML code on Codepen!
See the Pen
Hello Folks by Jehal Desai (@my-dreamzlive)
on CodePen.
