An HTML and CSS file creation feature is already included into PyCharm. The following are the fundamental steps for producing new HTML and CSS files –
- Right-click on the structure panel and then go to New option.
- Choose HTML File from the pup-up list.
- Name your new HTML file.
As you can see from the following screenshot, a new HTML file has been created with the name given by you (Sample in this case).
For creating a CSS file in your PyCharm, you just simply need to click on File under the New option of the pop-up list. A naming tab will open up similar to that in the case of creating a new HTML file. Enter the desired name for your css file aslong with .css extension to identify it as a CSS file, and you are done. (Here, we have created the ‘new.csss’ file).