How to Make a Website With NotePadby Shawn Farner
You can create a website with a WYSIWYG--"what you see is what you get"--tool and never see any of its underlying code. If you don't own WYSIWYG software or prefer to hand-code a web page, you can also create pages in text editors like Notepad, which comes with every Windows PC. To create complex pages and websites, you need to learn the web programming language known as HTML, but beginners can get started by creating and coding a basic HTML page in Notepad.
Open a new Notepad file on your computer by clicking "Start" > "All Programs" > "Accessories" and then selecting "Notepad."
Type "<html>" into your empty Notepad document (don't include the quote marks). Later, when you open this page in a web browser, this code tells the browser that this is the beginning of an HTML web page.
Press the "Enter" key once to begin a new line and type "<head>" into your document. This is the code to begin providing information about a web page, including its title.
Press "Enter" again and type "<title>" on the new line. Then type in the title you want to give your web page. When you're finished typing the title, type "</title></head>". The forward slashes in these HTML tags are the codes that signal that you're closing the previous title and head tags.
Press "Enter" again and type "<body>". The body tag is the code to begin the content of the web page.
Type "<p>" to start a paragraph. Type in your first paragraph after the tag. When you finish typing a paragraph, type "</p>" to close it and then hit the "Enter" key. Repeat this process for each new paragraph you want to display on your web page.
Type "<a href="yourURLaddress">your link text</a>" to create a hyperlink to another web page in any paragraph. Substitute the URL address of the page you're linking to for "yourURLaddress" (in this one case, include the quote marks around the URL address) and the name you want to give your hyperlink for "your link text" in the tag. When a browser displays your page, whatever words you've entered in "your link text" will be linked to the URL address you enter in the tag. When someone clicks on the link, the browser will take them to the page at that URL address, whether it's another page on your site or a page on someone else's website. If you wish to go to a specific page on a website, type the full address for that specific page in between the quotation marks inside your a href tag. Be sure to include "http://" at the beginning of the URL.
When you finish and close your last paragraph, type "</body>" to let the browser know the content portion of your page is complete, and then type "</html>" to signal the end of the entire web page.
Go to the "File" menu and choose "Save As" to save your new page. Name it "yourname.htm". Saving the file with a .htm extension at the end will allow web browsers to open and display its contents. Your page is now complete and ready to be uploaded to the Web.
- check If you're creating multiple web pages, save all of the pages for one website in the same folder on your hard drive. This will make it easier to check your pages and upload them to the Web.
- check Test your pages before you put them online by opening and viewing them in your web browser. Open your web browser and pull down the "File" menu at the top of the screen. Choose "Open" and then browse for your saved web page on your hard drive. After you upload the page to the Web, check it again to be sure it's displaying correctly.
- photo_camera www image by dead_account from Fotolia.com
Click here to provide feedback on this article