I know you are looking for the appropriate way to create an html webpage using notepad and the HTML file should open in your Internet explorer (or any other browser) but unfortunately it is not working as expected. The reason behind this is that you are not actually saving them as an HTML file they are just text files. I know you are saving your file as xyz.htm (or .html) but actually they are getting saved as xyz.htm.txt (or .html.txt) by default. There is a simple trick to overcome this problem, follow the steps.
Creating an html webpage using notepad
At first, open your notepad. Go to start > All programs > Accessories > Notepad or type NOTEPAD in Run.
Now put some meaningful content in the notepad. Copy the given below html content.
<title> create webpage using notepad</title>
<h1>Introduction to HTML </h1>
<p> HTML is a mark up language used in most of the pages of the World Wide Web. HTML files are text files that, unlike completely plain text, contain additional formatting markup—sequences of characters telling web browsers what parts of text should be bold, where the headings are, or where tables, table rows and table cells start and end.. </p>
How to save the html file using notepad
So the most important part comes here, hold the ctrl key and press S (ctrl+s). Save it as AnyName.htm (or AnyName.html) of course, you can give it any name but don’t forget the dot html part. Now change the save as type to all files (look at the image).
Now open your html webpage file in any browser and notice the output.
Revealing the extension of your html webpage:
You may still have problems with the extension because MS window operating system by default hides the file extensions for well known files. So let’s reveal the extension of your file.
First go to my computer > organise > Folder and search optios > view tab > uncheck the option: Hide extension for known file types (follow the image). Now you will be able to check the extension for your file. If it is still a .txt file then change it to .htm and save it.
How to edit your html pages using opera?
As you can see I am using opera browser (love opera), one of reason behind this love is that I can edit my html web pages using it only, which I had created using notepad, I don’t need to open the notepad again and again. To edit your file, right click anywhere on the page and click the option source and you will be able to edit the source. To save changes click option apply changes.
NOTE: HTML can be edited in plain text editors, including those that highlight HTML markup with colors to make it easier to read. There are also WYSIWYG (what you see is what you get) editors of HTML. Plain text editors include Notepad (or Notepad++) for Microsoft® Windows, TextEdit for Mac, or Vim, Emacs and others for Linux. Commercial HTML editors include Adobe Contribute CS5 and dreamweaver CS5 (both Win/Mac), and Microsoft’s Visual Web Developer (Win). There are also free HTML editors out there including Evrsoft First Page (Win), Mozilla KompoZer (Win/Mac/Lin) and Quanta Plus (Lin). But as a beginner it is usually better to use notepad otherwise you will never learn those tags.
Now when you have known the secret of creating html web pages using notepad J, don’t forget to study more html. It’s the easiest language ever (Hyper Text Mark-up Language).