Using Code Editor Notepad++
First, to create folder in My documents in Windows 10, Click on New Folder as shown below.
Open The Notepad++. When the Notepad++ opens, its screen looks like as shown below. It will open with the file name new 1.
Now, click on File and then click on Save As…
Now your DemoWeb folder Dialog Box will appear. Write the file name index.html then save it.
Now, you see the file index.html is opened and ready for you to write the html code.
Write the html code as shown below. The white Spaces in this coding is not important , it is only to make it easily readable by yourself and other people.
After you have written the code, in order to see the result or preview, save your work first then click on Run. The dropdown Menu pops up. This Menu shows List of Browser.
Click on your selected Web Browser. I normally use Chrome so I clicked on Chrome.
Now the Chrome Browser will appear and show the result as an image below
If it doesn’t display the preview properly or any error then check for any spelling mistakes, all the tags properly closed and nested and your code is well formed and doesn’t contain any syntax error.
Note: Every time you edit your coding, save it first then refresh your Browser page, otherwise the browser will not display your page if it is not saved.