Code has been added to clipboard!

A Beginner-Friendly Guide on What Is an HTML Editor and How to Use It

Reading time 2 min
Published Mar 22, 2019
Updated Sep 27, 2019

TL;DR – An HTML editor is a specific software in which you can write your code.

First Steps with an HTML Editor

While technically you can write your HTML code in any text editor, a good HTML editor can make your job a lot easier. Not only it's more convenient, but most of them also offer extra functionalities. The problem is, most professional HTML editors (such as Sublime Text) are pricey, which makes them not the most attractive for beginners.

If you're looking for the best free HTML editor, check out TextEdit (Mac) or Windows Notepad (PC) that come inbuilt in the operational systems. They are rather simple, but that's not a disadvantage: a ton of additional features might confuse a coding rookie.

In the following sections, we will demonstrate how to use a basic HTML editor step by step.

Open the HTML Editor

In Windows

The steps you need to take to open Windows Notepad differs slightly according to the version of Windows you are using:

Windows 7≥ Start > All Programs > Accessories > Notepad
Windows 8≤ Start > Type Notepad > Press Enter

See how it looks like in Windows 8:

In MacOS

To open the TextEdit editor in MacOS, follow these steps: Finder > Applications > TextEdit:

Modify the preferences so your application could save files correctly:

  • In Preferences, choose Format and select Plain Text.
  • Under Open and Save, check Ignore rich text commands in HTML files.

Write and Save an HTML File

Open a new file using the chosen HTML editor. Copy or write a bit of HTML code.

Example
<!DOCTYPE html>
<html>
<body>
  <h1>First Ever Heading</h1>
  <p>First Ever Paragraph</p>
</body>
</html>

Save the file on your computer. Make sure that your file extension is .html - otherwise your website won't work. Use UTF-8 encoding so the browser can display any character without a problem:

View Your HTML Page In a Browser

Open the saved HTML file in any web browser:

Tip: you can do this by just dragging and dropping in most browsers.

HTML Editor: Useful Tips

  • If you want to try something more and then choose the best HTML editor for yourself, check out Atom or Notepad++. These are the best free HTML editors you'll find online.
  • Don't want to limit yourself to an editor that only supports HTML? Practice online with BitDegree's Best Code editor which supports HTML, CSS, and JavaScript.
Basics
Introduction
Syntax
Editors
Basic Examples
Head Section
<!DOCTYPE>
Tags and Elements
Semantic Elements
Tags Reference
Attributes
Comments
Block and Inline Elements
Forms
Form Elements
Input
Responsive Web Design
Inline Scripts
Uniform Resource Locator
Redirect
XHTML
Geolocation
Drag and Drop
Local Storage
Web Workers
Server-Sent Events
Character Encoding
Text Formatting
Quotation and Citation Elements
Headings
Paragraphs
Links
Tables
Lists
Symbols
Space
Tab
Styles
Computer Code
Layout
Classes
Colors
Images
iframes
Audio Player
Video Player
YouTube Videos
Multimedia
Canvas
SVG
<!-- -->
<a>
<abbr>
<acronym> DEPRECATED
<address>
<applet> DEPRECATED
<article>
<aside>
<audio>
<b>
<base>
<basefont> DEPRECATED
<bdi>
<bdo>
<big> DEPRECATED
<blink> DEPRECATED
<blockquote>
<body>
<br>
<button>
<canvas>
<caption>
<center> DEPRECATED
<cite>
<code>
<col>
<colgroup>
<datalist>
<dd>
<del>
<details>
<dfn>
<dialog>
<dir> DEPRECATED
<div>
<dl>
<dt>
<em>
<embed>
<fieldset>
<figcaption>
<figure>
<font> DEPRECATED
<footer>
<form>
<frame> DEPRECATED
<frameset> DEPRECATED
<h1> – <h6>
<head>
<header>
<hr>
<html>
<i>
<iframe>
<img>
<input>
<ins>
<kbd>
<keygen> DEPRECATED
<label>
<legend>
<li>
<link>
<main>
<map>
<mark>
<menu>
<menuitem> DEPRECATED
<meta>
<meter>
<nav>
<noframes> DEPRECATED
<noscript>
<object>
<ol>
<optgroup>
<option>
<output>
<p>
<param>
<pre>
<progress>
<q>
<rp>
<rt>
<ruby>
<s>
<samp>
<script>
<section>
<select>
<small>
<source>
<span>
<strike> DEPRECATED
<strong>
<style>
<sub>
<summary>
<sup>
<table>
<tbody>
<td>
<tfoot>
<th>
<thead>
<time>
<title>
<tr>
<track>
<tt> DEPRECATED
<u>
<ul>
<var>
<video>
<wbr>