How To Create A Page Using Notepad

Table of contents:

How To Create A Page Using Notepad
How To Create A Page Using Notepad

Video: How To Create A Page Using Notepad

Video: How To Create A Page Using Notepad
Video: How to make a website using notepad | Beginner's Tutorial 2024, May
Anonim

Many webmasters practice creating site pages from scratch. With notepad and the basics of html, you can quickly create a template for a standard page. But all other operations that require page code completion can take much longer.

How to create a page using notepad
How to create a page using notepad

It is necessary

Software "Notepad" (NotePad ++)

Instructions

Step 1

If you ask the professionals of this business whether it is worth starting to create your site by working in the text editor "Notepad", most of them would say that it is rather dreary. Having a good command of html-language, an Internet page can be made quickly, and if you do not have such knowledge, you can quickly make only the main part of the page.

Step 2

When writing code, it is good to have an advanced version of the standard Notepad program handy, such as NotePad ++. This program has a code highlighting option, i.e. if you misspell a part of the code, you can see an incorrectly composed expression.

Step 3

First of all, you need to remember that in html one of the most important elements is the tag (command). The tag consists of the command name, which is located between two characters: ". A tag has two parts: one part opens the tag and the other closes it. For example, the code inside the tag. Please note that when closing the tag, in the last expression, you must specify the character "/" (forward slash).

Step 4

Any page has its own structure, the standard template for an html page consists of a "Title" ("head" or "head") and "Body". The heading is enclosed in the "head" tag, which means "head" in translation (hence the name). Using the example that was described above, compose the "header" of the page. It will look like this: "header" code. The page code is enclosed in the "body" tag, which means "body" in translation. The code will look like this: body code

Step 5

It is also necessary to register the name of the page, it will be displayed in the title of your browser window. The page title is enclosed in the "title" tag, its code will look like this: and. Do not forget about the encoding of the text, which should be contained on the page. The most optimal encoding option for Cyrillic pages is win-1251, and the tag will look like this:

Step 6

If you combine all the parts of the page code that were described above, you can get the following code: Page title: what the user will see in the title of the browser window

Step 7

When the code is completely typed in Notepad, you need to save it. Click the File menu, select Save As. Enter the name of the saved page (Index.html) and click the "Save" button. Now the finished file can be opened using any Internet browser.

Recommended: