How to Write HTML Codes Using Notepad

Everyday we write our blog post so we must learn how to use the notepad for writing. When we are offline, we can also use the notepad for writing the post instead of in our post editor. HTML can be edited by using  HTML editors like: Microsoft WebMatrix Sublime Text, Android HTML Editors. However, for learning HTML it is highly recommend a text editor like Notepad (PC) or TextEdit (Mac). Using a simple text editor is a good way to learn HTML. Follow the 4 steps below to create your first web page with Notepad.


Using NotePad When Writing The Codes

To Open The Notepad in Windows 7 or Earlier

  1. Click Start > All Programs > Accessories > Notepad
  2. To Open The Notepad in Windows 8 or Earlier

  3. Open the Start Screen and Type Notepad
  4. Write Some HTML Write or copy some HTML into Notepad
  5. <!DOCTYPE html>
    <html>
    <body>
    <h1>My First Heading</h1>
    <p>My first paragraph.</p>
    </body>
    </html>

    Write Some HTML Write or copy some HTML into Notepad.

  6. Save the HTML Page Save the file on your computer
  7. Select File Save as in the Notepad menu. Name the file index.html or any other name ending with html
  8. UTF-8 is the preferred encoding for HTML files. ANSI encoding covers US and Western European characters only.

    Save the HTML Page Save the file on your computer.

  9. View HTML Page in Your Browser Open the saved HTML file in your favorite browser.

The result will look much similar like this:

View HTML Page in Your Browser Open the saved HTML file in your favorite browser.

Comments

Popular posts from this blog

List of Top 11 Social Bookmarking Sites for 2018

6 Digital Marketing Strategies for Small Business

How to Create Separate AMP Pages On Blogger [AMP Plugin]