How to work in HTML

How to work in HTML

Work in HTML document, first of all, means work with HTML tags. It is necessary to understand purpose of different tags and to be able to manage them, creating necessary contents and execution of the page.

It is required to you

  • The computer with the connected Internet.

Instruction

1. Read about what is represented in general by HTML-imposition. It is known that all documents which are pages of the Internet have the HTML pages format, having a hypertext markup language. All maintenance of HTML document breaks into certain areas. Each area is limited to some tag. Depending on what contents will be used, any given tag is applied. Tags are limited to signs <and> and used in order that the browser understood how to interpret page contents.

2. Open any text editor to start work with HTML. Any HTML document should begin with the HTML tag, showing that all contents of the page belong to HTML marking. Almost all tags should have the closing tag. Thus, there is an opportunity to limit a scope of this tag. The closing tag differs from opening the sign "/" facing the name of the tag. Each tag has own properties. For example, if you write a phrase "to Hello, World!", having separated it tag b, in a browser window it will be highlighted in bold type.

3. Pay attention to use of such tags as h1, h2, h3, h4. They are intended for writing of text information of the big size. The largest size will have the text limited to h1 tag. Other tags of this series allow to format the text, applying the smaller size. These tags have the name of heading of a certain level.

4. Try to place tags so that the enclosure of one tag in another was visible. It means that at design of HTML document two spaces when writing of any enclosed tag are desirable to recede.

5. If you want to use images on the page, then for these purposes the tag in which information on location of the image file contains serves. The img tag as well as many other tags, can have a set of parameters for specification of characteristics of the image. For example, you can determine exact image sizes, make it clickable, set brightness, transparency and other similar characteristics.

6. Notice that the majority of HTML pages does not contain descriptions of the objects which are contained inside in the tags. It is reached by application of cascading style sheets. This technology allows to set descriptions of all used tags or at the beginning of the document in the separate special tag, or in the separate file. It allows not only to do the HTML page of more readable, but also to create own tags which descriptions are stored separately.

Author: «MirrorInfo» Dream Team


Print