When you first begin using HTML editors and open your first webpage (HTML document), the code may seem daunting. However, HTML is the most basic of web languages; it’s the core language of the Web and not hard to learn. In this article, we’ll cover the basics of HTML and webpage creation when using the text, or coding side, of HTML editors.
Many HTML editors provide syntax highlighting, which allows you to easily discern HTML from text, CSS, JavaScript or other language. These HTML editors also show highlighting when a line of code is written correctly [image1] vs. incorrectly [image 2]. When working with code, pay close attention to these clues; one line of incorrect code can turn a beautifully crafted webpage into a blank page. Thankfully, these are quickly corrected errors.

Image 1 – Correct HTML

Image 2 – Incorrect HTML
Once you understand the basic principles of HTML, the rest becomes much easier to learn.
HTML Tags
HTML is made up of tags, written using the greater than and less than symbols. As well, most tags come in pairs, with a start (opening) tag and end (closing) tag, which look like this:
<tag>expression</tag>
Without the closing tag, and without the “/” in the closing tag, the HTML doesn’t work. Although some tags don’t require a close, these are rare exceptions.
HTML Documents
When opening a new document, many HTML editors will automatically provide the basic layout of a webpage. This document will look similar to this:
Basic HTML Document
Each piece has a particular part to play, an exact order, and can only hold certain information.
Tags such as the title, description, keywords and link tags must be contained within the <head></head> area. As well, notice that none of them have a matching close tag. Instead, they use “/” at the end, which is the accepted way of closing these tags.
As you progress through learning HTML, you’ll find yourself wanting to learn how to create links, different sized fonts and other common HTML events. Some of the most common, and thus most quickly learned, include:
Example: <h1>This is a heading</h1>
Example: <p>This is a paragraph.</p>
Example: <a href=”http://mysiteexample.com”>My Site</a>
Example: <img src=”http://mysiteexample.com/image.jpg” width=”100” height=”100” />
Most HTML tags use letters that match what you want to do. “H” defines “heading”, for example. As well, many HTML editors provide an auto complete feature that automatically provides closing tags.
As you can see, learning to code HTML is sort of like learning a new language; there are a number of rules (and exceptions to every rule), and even “punctuation” guidelines. But once you get down the basics, you’ll be able to code your own webpage, and master more advanced coding techniques. Regardless of your level of HTML expertise, you’ll want to find the right HTML Editor, so check out our comparative reviews. At TopTenREVIEWS We Do the Research So You Don’t Have To.™