How to make a HTML page

How to make a HTML page

Creation of the website – process quite tiresome. Therefore many beginning builders of the websites use engines or speaking to the strict CMS language. But there comes time when the user begins to be interested as, the world of the websites is arranged as they are created. And the first attempts of independent imposition of the website begin with creation of a HTML page.

It is required to you

  • 1) Program notepad
  • 2) HTML bases

Instruction

1. A website basis – html the document. Usually it is called "index.html". In it website bases, blocks, tables and other are set. We open the program a notepad. We enter the following code:. After that we register the main tag of the HTML page, and we do not forget it to close. Everything what to be between this tag – and will be a HTML page.

2. The following step we create a page cap. We register the closed tag of "head". Everything what to be between it, will not be displayed on the page. Here we will prescribe the name of the page, meta tags, a binding to css to files, Java scripts.

3. We give the name to our page. The tag of "title" is responsible for it. We register it between tags of "head". "Title" is the closed tag therefore between them two we register a name of the created page. After that we prescribe the main to Meta tags. Also we do a binding (if it is necessary) to tables of style. The following code is responsible for it:. With a tag of "head" it is finished.

4. We start creation of a body of the document. Everything that is registered in a document body, will be displayed to users who visit your page. We register a tag of "body". Then we start creation of the text on the page, inserts of objects (tag of "object"), tables ("table").

5. A necessary element of the page is the link. A tag a tag "and", it is necessary to use together with the href attribute to which we assign values: full path of the reference to the source. If the source of the link is on the same server, as the page, then it is possible to register in associated value only the name of the page of a source. To make links color, we set to a tag of "body" the following attributes: "link" (color of the link), "vlink" (color of the link after on it already passed), "alink" (color at the time of clicking of the link).

6. For work with the text we use a tag of "p", for designation of the paragraph. A tag of "H" which is accepted in six values, from large to small, for designation of heading. A tag of "font", for a font task. Alignment can be set by means of the align attribute. After the end of creation of a body of the document, we close a tag of "body". The HTML page is ready.

Author: «MirrorInfo» Dream Team


Print