After vim directly written html,
Firefox test.html can be used directly, instead of the usual click on the icon in the ide
The basic template of html:
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>我是网页标题</title> 6 </head> 7 <body> 8 9 </body> 10 </html>