rus / eng

>> Photo Cameras

>> Cellular telephones

>> Site creation on HTML

>> Site advancement

>> Promotion of a site by articles

>> Songs from film phrases

>> Use of satellites for promotion of portals.

>> How to learn " to advance " sites on the Internet

>> How to make a visited site?

Enter a text which you want to find on a site.



Creation of the first page on html for teapots

Creation of very simple site on html for teapots. Under this heading I will spread a cycle of notes on creation of a simple site on html, having passed which one after another, you learn the minimum necessary data for creation of the pages on the Internet.

For a writing of a simple site in language html that is not required what special megaknowledge of bases of programming and obligatory software for working out. The nobility some main principles and the moments suffices, speech about which will go more low, and it is possible to write a site in usual txt a file.

So, we will create our first page on html. For this purpose we will create the new document with the permission.txt and we will write in him the following:

< html>
  < head>
    < title> Main</title>
  </head>

  < body>
Site contents
  </body>
</html>

Then save a file under a name index.html, that the file permission should be now.html. Now the file can be opened a browser and we will see that from above a browser in heading there is an inscription " Main", and on page - " Site contents".

Now we will understand, that such we here write. HTML is language of a marking, this marking is reached with the help tags which begin with the left angular bracket " < " also come to an end with the right angular bracket " > ". Any HTML the document should begin with tag < html> and to come to an end tag </html>, it says to a browser that the document is written on html language. The majority tags in html steam rooms, т.е should have opening and closing tags , but is also single about which speech will be later.

Further go tags < head> </head> - they define a header part of a site, here should settle down tags heading, and as special meta tags, necessary for site promotion, and tag attachments of the special table of styles CSS, for management of styles of a contained site.

< title> </title> - tags page heading, this heading will be displayed at the top of a browser.

< body> </body> - tags site bodies, all contents of a site here are written.

As you can see, difficult here anything is not present. Technically by the way it is unessential to put closing tags < html>, < head> and < body>, but nevertheless it is better than them to use always in avoidance of various mess first of all for itself.

we Will consider now the cores tags with which help the text on a site is made out. As a rule any article or a note on a site can have heading and paragraphs.

the Heading is defined tags < Hx> </Hx>, where x - number from 1 to 6, defining heading level. H1 - the biggest heading is heading of the first level, H6 - accordingly шестрого level. It is possible to make certainly heading and more bottom level, but it can not be supported by a browser.

That the text was read more conveniently, it divide into paragraphs tags < p> </p>, it allows not only to allocate paragraphs in the text, but also to apply various conditions to change of parametres of the text only within the paragraph.

tag < br> - single tag which serves for rupture of a line and transfer of the cursor into a new line.

So, taking into account all aforesaid, we can already make a page and write in it a plain text with heading, having differentiated its paragraphs:

< html>
  < head>
    < title> Main</title>
  </head>

  < body>
    < h1> Site Contents</h1>
    < p> It is your first page of a simple site. This text is placed in paragraph</p>
This text without the paragraph, < br> but with carrying over of a line
    </body>
</html>

Here we also have deduced the first page in a browser to whom of it a little, we move further ...

Author: Vyacheslav Ladanov

Date: 2009-09-12

Views: 152

Estimate a note:    1 2 3 4 5

Comments:

Comments still are not present, you will be the first!

To add your comment:

Enter result of calculation of numbers from a picture

>> Aquariums

>> Astrology

>> Other

>> 2009-12

>> 2009-11

>> 2009-09

Copyright © 2009 | slavaworld | Vyacheslav Ladanov

Rambler's Top100
Besucherzahler meet and marry russian women
счетчик посещений
Качественный хостинг, реселлинг по низким ценам!

Notes in base: 12
Comments: 4
On site: 7