Topic: HTML Basics

HTML Workflow

Details

To start writing HTML code, all you need is your text editor and a browser.

If you have an HTML file open in your text editor, here’s a basic workflow you can follow:

  1. Open the file in your browser so you can see the output. There are a few ways of doing this. The easiest way is to right click the file in Finder on macOS or File Explorer on Windows and select your browser using the Open With option.
  2. Add some HTML code to the file in your text editor.
  3. Save the file.
  4. Refresh the browser to see the latest changes.

The last two steps are important. By default, the browser will not refresh for you as you write HTML code, so make sure you save the file first and then refresh the browser to see the latest changes.

There are tools you can use to automatically refresh the browser after saving your file.

References

Getting started with HTML on MDN