How to do the website on html

How to do the website on html

Practically all websites are created with use of content management systems today - CMS. But still there are programmers creating web pages manually directly on HTML markup language. Do you want to become one of them?

Instruction

1. For editing HTML files use the text editor working in a format "only the text". Save the results in Unicode encoding - then you will have no problems with the placement on the same page at the same time of Cyrillics, Latin letters with umlauts and also characters of mathematical and physical characters and the Greek letters.

2. Assign to all files names with expansion "" .html"" (without quotes). In these names only Latin letters, digits, signs of underlining and hyphens, but not other punctuation marks (except the point separating a name and expansion) and spaces can be used.

3. Surely save the main page of the website in the file under the name ""index.html"" (without quotes). Place this file in a root folder of a hosting. Its contents will be seen by the visitor of the website, having entered into an address bar of the browser of its URL without additional parameters. Place in the same folder also other files of pages and images.

4. In each file arrange initial and final blocks in advance. Issue them as it is shown in the drawing. The last line of a home block of KK - hexadecimal value of brightness of a red component of background color from 00 to FF, ZZ - the same, for a green component, CC - the same, for a blue component.

5. Place contents of the page between initial and final blocks.

6. Remember road signs with designation of settlements. If on the sign the name is simply written, so it is located on entry into the settlement with such name. If the name is crossed out, so the sign is located on departure from it. The sign of fraction before a command plays a role of the crossing-out line on the road sign in the tag. The "opening" tag is terminated when further in the text the "closing" tag meets the same command.

7. To begin the paragraph, use the tag shown in the drawing at the left. In order that before the paragraph there was also an indent in one line, use the tag shown in the drawing on the right.

8. For selection of the text in the italics and bold print use the tags and their combinations shown in the drawing.

9. To change the size and color of a font, use the command shown in the drawing on top. Here KK, ZZ and CC values are defined by the same image, as for background color, VYS - font height in points. The color or font tags can be not used if only the size or only color of a font changes. Carry out cancellation of this command by means of the tag shown in the drawing from below.

10. For an insert in the page of the image which is stored locally in a root folder use the design shown in the drawing on top. For an insert of the image which is stored on other server use a bit different design shown in the drawing from below. Do not insert the image from third-party sites without the consent of authors. Some websites have protection against such use of images.

11. To insert the link to another which is stored locally in a root folder into the page use the design shown in the drawing on top. For the link to the page located on a third-party site alter this design as it is shown in the drawing from below.

12. Find in network the textbook on HTML markup language, and you learn about how to use other tags which in this language there are several dozen.

Author: «MirrorInfo» Dream Team


Print