Download Article
Easily create a web page with the software already installed on your computer
Download Article

Do you want to learn web design? You don't need fancy editing software to get started creating a web pages. You can create web pages using Notepad, which comes pre-installed on your Windows computer. The language used to create web pages is called "HTML," which stands for Hypertext Markup Language. You can write HTML using Notepad or any other text editing program. Then all you need to do is save the file as an HTML document. HTML is easy to learn, even if you have no programming skills. This How.com.vn article teaches you how to create a simple webpage using Notepad.

Things You Should Know

  • HTML is the primary language used in web design.
  • You can easily write HTML using Notepad or any other text editing program.
  • Don't forget to save the file as an HTML (.html) document.
Part 1
Part 1 of 4:

Creating a Document

Download Article
  1. How.com.vn English: Step 1 Open Start icon.
    Click the Windows logo in the bottom-left corner of the screen. The Start menu will pop up.
  2. How.com.vn English: Step 2 Search for Notepad.
    Type in notepad to do so. You should see a list of matching results appear near the top of the Start menu.
    Advertisement
  3. How.com.vn English: Step 3 Click Notepad.
    It's a blue notepad icon at the top of the list of search results. Click this app to open a blank page in Notepad.
  4. How.com.vn English: Step 4 Click File.
    This is in the top-left corner of the Notepad window. Clicking it prompts a drop-down menu.
  5. How.com.vn English: Step 5 Click Save As….
    It's in the drop-down menu. The Save As window will open.
  6. Step 6 Click the "Save as type" drop-down box.
    This option is near the bottom of the window and should have "Text documents (*.txt)" written on it. Clicking it prompts a drop-down menu to appear.
  7. How.com.vn English: Step 7 Click All Files.
    It's in the drop-down menu. This will allow you to save your file as an HTML document.
  8. How.com.vn English: Step 8 Select a save location.
    Click the name of the folder in which you want to save your document on the left side of the window.
    • For example, to save your document on the desktop, you would scroll up and click Desktop in the left-hand sidebar.
  9. Step 9 Enter a name and the "html" file extension.
    Click the "File name" text box. Then type in whatever you want to name your file, followed by .html, which is the file extension for an HTML document.
    • For example, to name your webpage's file "hello", you would type in hello.html.
  10. How.com.vn English: Step 10 Click Save.
    Doing so turns your current Notepad document into an HTML document. At this point, you can proceed with setting up your web page's initial structure.
    • If Notepad inadvertently closes or you have to come back to your document later, you can right-click the HTML file and then click Edit in the resulting drop-down menu.
  11. Advertisement
Part 2
Part 2 of 4:

Adding Structural Code

Download Article
  1. How.com.vn English: Step 1 Add your webpage's language tag.
    The first tag you'll need to add is the language tag. This tells the web browser that this is an HTML document and that the language being used is HTML. Type the following into Notepad at the top of the page:
    <!DOCTYPE html><html>
  2. Step 2 Add the "head" tags.
    The "head" section of an HTML document contains the metadata for the web page. This information is not displayed in your web browser. It can contain information such as the page title, style sheets (CSS), scripts, and more. For now, just type <head> below the "<html>" tag, press Enter twice to leave a space. Then type in </head>.
    • Each HTML element has an opening and closing tag. When we add a new element, such as the "<head>" tag to open the head, we need to add a closing tag as well. For the head, this is the "</head>" tag.
  3. How.com.vn English: Step 3 Add page title to your website.
    The title goes within the "head" section of your HTML document, so you will need to enter this in between the opening "<head>" tag, and closing "</head>" tag. To add a title, type the opening title tag, which is <title>". Then type your title text. Add the closing title tag immediately after, which is </title>. For example, if you wanted to title your web page, "My Website," you'd enter the following:
    <title>My Website</title>
  4. Step 4 Add the "body" tags.
    Everything displayed in your web browser will go in the "body" section of your HTML document. The opening and closing body tags go below the closing "</head>" tag. Add the opening and closing body tags, as shown below:
    <body></body>
  5. How.com.vn English: Step 5 Close the HTML tag.
    The last tag to go in your document will be a closing HTML tag to signify the end of the page. Type </html> at the bottom of the page below the closing "</body>" tag.
  6. How.com.vn English: Step 6 Review your HTML document so far.
    At this point, your document should look something like the following:
    <!DOCTYPE html><html><head><title>My Website</title></head><body></body></html>
  7. How.com.vn English: Step 7 Save your document.
    To do so, click File in the menu bar at the top, followed by Save. Alternatively, you can press Ctrl + S to save your document. Be sure to save often.
  8. Advertisement
Part 3
Part 3 of 4:

Inserting Page Elements

Download Article
  1. Step 1 Know that all of your webpage elements go between the "body" tags.
    Any element—be it a heading or a paragraph—needs to be written after the "<body>" tag and before the "</body>" tag.
  2. How.com.vn English: Step 2 Add your website's main heading.
    Type <h1></h1> in between the "body" tags, then type whatever you want your webpage's main heading to be in between the "<h1></h1>" tags. For example, to create a page with the heading "Welcome", you would add the following:
    <h1>Welcome</h1>
    • You can use tags "<h2></h2>" through "<h6></h6>" to create smaller heading text. "<h1>" is the largest heading text, and "<h6>" is the smallest heading text.
  3. How.com.vn English: Step 3 Add paragraph text to the page.
    Type in the paragraph tags, which are "<p></p>", and then enter whatever you want to use as your paragraph text in between the tags. Your end result should look something like this:
    <p>This is my website. Vote for me for class president!</p>
  4. How.com.vn English: Step 4 Force a paragraph break.
    If you want to add extra spaces between paragraphs or heading, type <br> after the line's closing tag. For example, to create a line break after a paragraph, you should end up with something like this:
    <p>This is my website. Vote for me for class president!</p><br><p>I also like potatoes.</p>
    • You can add an additional "<br>" tag after the first one to create additional line spaces in between your paragraphs..
    • You do not need to add a closing tag for line breaks.
  5. How.com.vn English: Step 5 Add formatting to your text.
    You can apply bolding, italics, and underlining (as well as superscript and subscript) formatting to any word, sentence, or block of text as long as the text is between paragraph tags. The formatting tags you can use are as follows:
    <b>Bold Text</b><i>Italic Text</i><u>Underlined Text</u><sup>Superscript Text</sup><sub>Subscript Text</sub>
  6. How.com.vn English: Step 6 Add an image to your web page.
    To add an image to your web page, the image must be uploaded to a web server on the internet. You need to know the web address for the image. Once you have that, type <img src= followed by the web address for the image in quotation marks. Then add the closing > bracket at the end. The following is an example of what this should look like:
    <img src="https://www.mywebsite.me/images/me.jpg">
    • If the image is not online, but is saved to your computer, you can use the location it is saved to instead of the web address. For example, <img src="C:\Users\username\Pictures\me.jpg">
  7. How.com.vn English: Step 7 Add a link to your web page.
    Links are a crucial aspect of web development. They allow users to navigate from one web page to another. To add a link, you need to have the web address for the web page you want to link to. Type <a href= followed by the web address to the page you want to link to in quotations. Then add the closing > bracket at the end. Then immediately after, type the text you want the link to say followed by the closing tag, which is </a>. The following is an example of how to add a link to your web page:
    <a href="https://www.mywebsite.me/ipage2">Next Page</a>
  8. How.com.vn English: Step 8 Review your web page's appearance.
    While the web page's elements may vary, your document should look something like the following:
    <!DOCTYPE html><html><head><title>My Website</title></head><body><h1>Welcome!</h1><a href="https://www.mywebsite.me/ipage2">Next Page</a><img src="https://www.mywebsite.me/images/me.jpg"><p>This is my website. I hope you like it here!</p><p><b>Here is some bold text for emphasis.</b></p><p><i>Italics can be creepy.</i></p></body></html>
  9. Advertisement
Part 4
Part 4 of 4:

Testing Your Page

Download Article
  1. How.com.vn English: Step 1 Save your document.
    To do so, click File in the menu bar at the top, followed by Save. This will ensure that the HTML document shows the most recent version of your web page when you open it.
  2. How.com.vn English: Step 2 Right-click your HTML document.
    Navigate to where you saved your HTML document, and right-click it. A drop-down menu will appear.
  3. How.com.vn English: Step 3 Select Open with.
    It's in the drop-down menu. Doing so opens a pop-out menu with a list of apps you can open the file with.
  4. How.com.vn English: Step 4 Select your preferred web browser.
    All web browsers can open HTML documents, so click any web browser you want to use in the pop-out menu. Your HTML document will open in your selected web browser.
  5. How.com.vn English: Step 5 Review your webpage.
    If the formatting looks good to you, you can go ahead and close Notepad.
  6. Advertisement


Community Q&A

Search
Add New Question
  • Question
    Do I have to use notepad to create web pages?
    How.com.vn English: Community Answer
    Community Answer
    No. There are many other apps that can edit HTML documents. There are even some made for the purpose of creating HTML.
  • Question
    What is the age limit for hosting a website?
    How.com.vn English: Community Answer
    Community Answer
    There isn't an age limit for hosting a website. As long as you know how to create one, it will be fine.
  • Question
    What do you mean when you say "open the .html file..."?
    How.com.vn English: Community Answer
    Community Answer
    Open the HTML file=open the file with the extension .html in Notepad for the code or in a browser for the output.
See more answers
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!

      About This Article

      How.com.vn English: Travis Boylls
      Written by:
      How.com.vn Technology Writer
      This article was co-authored by How.com.vn staff writer, Travis Boylls. Travis Boylls is a Technology Writer and Editor for How.com.vn. Travis has experience writing technology-related articles, providing software customer service, and in graphic design. He specializes in Windows, macOS, Android, iOS, and Linux platforms. He studied graphic design at Pikes Peak Community College. This article has been viewed 1,504,300 times.
      How helpful is this?
      Co-authors: 94
      Updated: October 10, 2023
      Views: 1,504,300
      Thanks to all authors for creating a page that has been read 1,504,300 times.

      Reader Success Stories

      • How.com.vn English: Hnin Thidar

        Hnin Thidar

        Feb 3, 2017

        "The article is very useful for me. When I studied for my diploma in IT, I created a webpage using Dream Weaver..." more
      Share your story

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement