There are two ways to write html pages using phpstrom:
1. Create an html file directly
Related recommendations: "PhpStorm Usage Tutorial"
It will generate a template of an html file, and just write the HTML code directly in it. Note that this file is an html file. The effect is as follows:
What if we want to quickly generate an html template and don’t want an html file? For example, if I want to use a php file to quickly generate an html template, I can use the following method:
2. Enter html:5 and press the tab key
Press After the Tab key:
The above is the detailed content of How to write html5 with phpstorm. For more information, please follow other related articles on the PHP Chinese website!