HTML/Editors

Here's a guide to creating and editing HTML documents for Microsoft Windows, MacOS, and Linux.

Text editor and web browser
For beginners, you will need a text editor and a modern web browser. By default, Windows comes with Notepad and macOS comes with TextEdit. Ubuntu comes with gedit, but Linux distributions vary in what text editors they offer. One of the best programs to edit advanced HTML documents is Visual Studio Code, which is free and offers live previews and code hints – however, this program is for intermediate to advanced learners of HTML.

In terms of a web browser, you'll need a couple to test your code in. What browsers are available depends on what operating system you use. The major modern web browsers (Google Chrome, Firefox, and Opera) are available for Windows, Linux, and MacOS; Microsoft Edge is available only for Windows; and Safari is only available for MacOS.

Windows
Open Notepad using your preferred method. For Windows 10, this typically means clicking on the button or search button and typing Notepad.

MacOS
Open "Finder", go to "Applications", and select "TextEdit".

You may also need to change some preferences to get TextEdit to save files correctly. Go to Preferences, then Format, and then choose "Plain Text". After this, check the "Display HTML files as HTML code instead of formatted text" box (displayed under the "Open and Save" menu).

Writing some HTML
Write or copy the following HTML code into your text editor: