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:
- Open the file in your browser so you can see the output. There are a few ways of doing this. In VS Code, right click on the file in the Explorer and select Copy Path. In Atom, right click on the file and select Copy Full Path. Then paste the path in your browser’s address bar and press Enter.
- Add some HTML code to the file in your text editor.
- Save the file.
- Refresh the browser to see the latest changes.
- Repeat steps 2 through 4 until you are done with your project.
Steps 3 and 4 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. However, there are tools you can use to automatically refresh the browser after saving your file.
Getting started with HTML on MDN