1. Right-click any blank area on the computer desktop, click New on the expanded menu, and then click the Text File button:
2. Open the newly created text file, enter some basic HTML codes in it, and then hold down the "Ctrl" key+"S" key on the keyboard to save the file:
3. Select the file with the mouse, press the F2 key on the keyboard, and then change the file format from txt to html. At this point, a simple HTML code is generated: