Download Article
Convert any plain text file into an HTML page using Notepad, Notepad++, or another coding software
Download Article
Did you know that if you type up some HTML in Notepad, you can save it in a way that it opens up in your browser, like a website? It won't be a fully fledged public site unless you turn it into one , but you can still see the effect of your HTML in your own private browser. HTML is the markup language of the entire Web, being one of the core components along with CSS and JavaScript .
Steps
-
Open your code in Notepad.
-
Type at the top of your code.Advertisement
-
Go to the bottom of your code and type .
-
Click on "File" and "Save as" to make a new copy of your code.
-
Save as whatever you want.
-
When you open the new version of your code, it will look like a website that applies the HTML you've written to the page.
Advertisement
Community Q&A
Search
-
QuestionHow do I add audio and video in HTML to my first website?Community AnswerThe HTML element is used to embed sound content in documents. It may contain one or more audio sources, represented using the SRC attribute or the element, the browser will choose the most suitable one. It can also be the destination for streamed media, using a MediaStream.
-
QuestionCan I edit the HTML file after saving it?Community AnswerYes! Just go to the original text document, edit it, and then save it. All new changes will be seen on the website.
-
QuestionI followed the instructions correctly, but it doesn't seem to work. How can I fix this?Community AnswerEither repeat Step 5 while making sure to add ".html" at the end of the file's name and select "All Files (*.*)" or verify that your code is correct without any errors.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement
Video
Tips
Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!
Warnings
-
- If this doesn't work then re-save the document and change where it says TXT to HTML.
Thanks -
Thanks
Advertisement
About This Article
Thanks to all authors for creating a page that has been read 289,569 times.
Advertisement