There are two ways to run HTML code in Sublime Text: use the built-in HTML previewer: press the shortcut key to open the previewer, enter the HTML code, and click the "Preview" button. Use external browsers and plug-ins: Install the LiveReload plug-in and the preview in the browser will automatically refresh after saving the file.
Running HTML code in Sublime Text
Sublime Text is a popular code editor that provides Multiple ways to run HTML code. Here are the two most common methods:
1. Use the built-in HTML previewer
2. Using an external browser
Detailed steps:
Use the built-in HTML previewer:
Using an external browser (LiveReload plug-in):
The above is the detailed content of How sublime runs html code. For more information, please follow other related articles on the PHP Chinese website!