X
wikiHow is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 9 people, some anonymous, worked to edit and improve it over time.
This article has been viewed 208,404 times.
Learn more...
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
-
1Open your code in Notepad.
-
2Type at the top of your code.Advertisement
-
3Go to the bottom of your code and type .
-
4Click on "File" and "Save as" to make a new copy of your code.
-
5Save as whatever you want.
-
6When 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
-
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.
Advertisement
Warnings
-
⧼thumbs_response⧽
-
⧼thumbs_response⧽
Advertisement
About This Article
Advertisement