How to Create a Simple Web Page with Notepad: 15 Steps

Table of contents:

How to Create a Simple Web Page with Notepad: 15 Steps
How to Create a Simple Web Page with Notepad: 15 Steps

Video: How to Create a Simple Web Page with Notepad: 15 Steps

Video: How to Create a Simple Web Page with Notepad: 15 Steps
Video: 3 Ways You're Using Your VPN Wrong! 2024, May
Anonim

Every day, we access various websites. However, sometimes we wonder, is it difficult to create your own website? In this article, you will be guided to create a simple HTML web page with Notepad.

Step

Method 1 of 1: Creating Your Own Webpage

Create a Simple Webpage Using Notepad Step 1
Create a Simple Webpage Using Notepad Step 1

Step 1. Open Notepad

This text editor is a built-in program available on every Windows computer, and can be found in the Start menu. After Notepad opens, click File > Save As, then select All Files in the File Type column. Save your created file in HTML format. Generally, the main page of a site has the file name "index.html", and contains links to all the pages on the site.

Create a Simple Webpage Using Notepad Step 2
Create a Simple Webpage Using Notepad Step 2

Step 2. Understand HTML

The mark (tag) in HTML (Hypertext Markup Language) is in.

These marks serve to build your website. To end HTML code, use an end tag, such as. The closing mark is useful for closing various signs, such as bold or paragraph marks.

Create a Simple Webpage Using Notepad Step 3
Create a Simple Webpage Using Notepad Step 3

Step 3. Start your web page by inserting a tag at the top of the file

Create a Simple Webpage Using Notepad Step 4
Create a Simple Webpage Using Notepad Step 4

Step 4. Use tags to enter various information

Marks are useful for setting the page title, while (optional) tags are used to enter an explanation of the contents of the web page. The sign will then be read by search engines, such as Google.

Create a Simple Webpage Using Notepad Step 5
Create a Simple Webpage Using Notepad Step 5

Step 5. After entering the tag, title the page with the tag, for example wikiHow HTML

Create a Simple Webpage Using Notepad Step 6
Create a Simple Webpage Using Notepad Step 6

Step 6. Finish the header of the site by using the sign

Create a Simple Webpage Using Notepad Step 7
Create a Simple Webpage Using Notepad Step 7

Step 7. Use tags to enter page content

Keep in mind that not all colors are supported by browsers. For example, dark gray may not be supported.

Create a Simple Webpage Using Notepad Step 8
Create a Simple Webpage Using Notepad Step 8

Step 8. Write the contents of the web page between the

For example, start by creating a site header. The site header is the part of the site in large letters, and is marked with a sign

until

. Sign

you can use to create a site header with the largest font size. Try using the sign just below the sign, like

Welcome to my site

. Make sure you close the sign

at the end of the sentence.

Create a Simple Webpage Using Notepad Step 9
Create a Simple Webpage Using Notepad Step 9

Step 9. Create a paragraph on the page with the mark

For example, write

Paragraph test!

To create a new line, use the sign, or breaks.

Create a Simple Webpage Using Notepad Step 10
Create a Simple Webpage Using Notepad Step 10

Step 10. You certainly don't want the web page you create to contain only plain text

Use the following flags to format text on web pages: to bold text, to italicize text, and to underline it. After using the sign above, don't forget to close it!

Create a Simple Webpage Using Notepad Step 11
Create a Simple Webpage Using Notepad Step 11

Step 11. Add image with sign

Image
Image

to beautify the site and add information that cannot be explained in text form.

Sign

Create a Simple Webpage Using Notepad Step 13
Create a Simple Webpage Using Notepad Step 13

requires certain information to function. The full syntax of the sign

may be shaped like this:.

The src parameter in the sign serves to write the image file name, and the width and height function to describe the length and width.

Step 12. Create a link that leads to another page with a, for example Another page

The text in the middle of the mark is the text that will appear on the page, while the href parameter contains the destination page. With links, visitors can move to different pages on your site easily.

Step 13. When you have finished filling out the site, end the page by closing the

Finally, close the HTML code with

Create a Simple Webpage Using Notepad Step 14
Create a Simple Webpage Using Notepad Step 14

Step 14. Save your created web page with.html extension, and open it in your favorite browser to test it

Create a Simple Webpage Using Notepad Step 15
Create a Simple Webpage Using Notepad Step 15

Step 15. Read the following guide to upload your site to the internet

Tips

  • On the internet, there are various sites that contain guides for creating a website. W3school is one site with good material.
  • Make sure you close every tag in the HTML file.
  • Put a mark in the first line of the file, before the. This flag indicates that the file you are creating is an HTML5 file.
  • Change the font with the before and after marks. Replace "N" with the typeface you want, for example "Verdana".
  • If you need to use angle brackets, use the code. Meanwhile, to use the & sign, use the code &.
  • According to HTML tutorials, you should always name web files and folders in lowercase, without spaces and punctuation. While Windows allows you to put spaces in file names, many hosting providers don't. Plus, a neat filename will make it easier for you to manage your site.

Recommended: