Step 1: Open Notepad (PC) Windows 8 or later: … Step 1: Open TextEdit (Mac) Open Finder > Applications > TextEdit. … Step 2: Write Some HTML. Write or copy the following HTML code into Notepad: … Step 3: Save the HTML Page. Save the file on your computer. … Step 4: View the HTML Page in Your Browser.
How do I create my own website code?
- Learn the Basics of HTML. …
- Understand HTML Document Structure. …
- Get to Know CSS Selectors. …
- Put Together a CSS Stylesheet. …
- Download/Install Bootstrap. …
- Pick a Design. …
- Customize Your Website With HTML and CSS. …
- Add Content and Images.
How do I write HTML code in Windows 10?
- Use Windows 10 Notepad for editing HTML. Type Notepad in the Windows search bar to find and open Notepad.
- Add HTML to Notepad: Type HTML in Notepad > File > Save as > filename. htm > Encoding: UTF-8 > Save.
- Use . html or . htm for file extension. Don’t save the file with a . txt extension.