(Last Updated On: October 21, 2019)

There are several ways to type HTML on Windows/Mac computer. you can use advance editor to create HTML but if you are beginner, we recommend you to use simple text editor like Notepad. if you use MAC os then use Texteditor. however, we recommend some advance editors on this post. follow this and create HTML Page.



Sample HTML Code

<!DOCTYPE html>
<html>
<body>

<h1>First Heading</h1>
<p>First paragraph.</p>

</body>
</html>




Method 01 – Type HTML on Windows

Step 1,

Go to Run (Windows key+”R”) and type “Note pad” and press enter.

Step 2,

type above sample HTML code and press “Ctrl+S”. and type name for your document like first.html, “name.html”

type HTML Code on Windows 7,8,10/MAC

Step 3,

Now, Click that saved one. it will open your web page.



Method 2 – Type HTML on Mac with Open TextEdit

Step 1,

  • Go to Finder –> Applications –> TextEdit
  • Go to Preferences –> Format –> choose “Plain Text” on textedit
  • Now, Check the box  “Ignore rich text commands in HTML files”.

Step 2,

Now type above sample HTML Code.

type HTML Code on Windows 7,8,10/MAC

Step 3,

Now, Click that saved one. it will open your web page.

Method 3- Sublime text (advance editor)

Step 1,

Download and Install Sublime text editor and Install it.

Step 2,

File –> Save as –> type “file-name.HTML.

Step 3,

type above HTML Code and press ctrl + S”

w7

Step 4,

Open saved one with web browser.



we will try to teach HTML very basic level so  if you have suggestion, please tell us. if this “HTML guide” is useful then please share this on facebook and other social medias.Help others to find out this guide line on Facebook.  be sure to bookmark our site on your browser