There are many professional HTML editors can be used to code and edit HTML codes. Besides, you may use Notepad on PC and TextEdit on Mac to practise coding.
Notepad:
1. Start > Search > Notepad.
2. Write your HTML codes.
3. Save as HTML file. Set the encoding to UTF-8.
4. View your saved file in your browser. Double-click open or right-click "Open With" if file type is unknown.
TextEdit:
1. Finder > Applications > TextEdit. In In Preferences > Format > Plain Text. Go to Open and Save, check on "Display HTML files as HTML code.
2. Write your HTML codes.
3. Save as HTML file. Set the encoding to UTF-8.
4. View your saved file in your browser. Double-click open or right-click "Open With" if file type is unknown.