How To Work In HTML

Table of contents:

How To Work In HTML
How To Work In HTML

Video: How To Work In HTML

Video: How To Work In HTML
Video: Learn HTML in 12 Minutes 2024, November
Anonim

Working in an HTML document, first of all, means working with HTML tags. You need to understand the purpose of the various tags and be able to manage them, creating the necessary content and page design.

How to work in HTML
How to work in HTML

It is necessary

A computer with an internet connection

Instructions

Step 1

Read about what HTML layout is all about. As you know, all documents that are pages of the Internet have the format of an HTML page with a hypertext markup language. The entire content of an HTML document is broken down into specific areas. Each area is delimited by some tag. Depending on what content will be used, a particular tag is applied. Tags are delimited by and are used to tell the browser how to interpret the content of the page.

Step 2

Open any text editor to get started with HTML. Any HTML document must begin with an html tag to demonstrate that all content on the page is HTML markup. Almost all tags should have an end tag. Thus, it is possible to limit the scope of this tag. The closing tag differs from the opening tag with a "/" before the tag name. Each tag has its own properties. For example, if you write the phrase “Hello, World!”, Separating it with the b tag, it will appear in bold in the browser window.

Step 3

Note the use of tags like h1, h2, h3, h4. They are intended for writing large text information. The largest size will be the text enclosed by the h1 tag. The rest of the tags in this series allow you to format text using a smaller size. These tags have the name of a heading of a certain level.

Step 4

Try to place tags so that you can see the nesting of one tag in another. This means that when formatting an HTML document, it is advisable to indent two spaces when writing any nested tag.

Step 5

If you want to use images on your page, then the tag serves for these purposes

inside which contains information about the location of the image file. The img tag, like many other tags, can have a set of parameters to refine the characteristics of an image. For example, you can define the exact dimensions of an image, make it clickable, set brightness, transparency, and other similar characteristics.

Step 6

Note that most HTML pages do not contain descriptions of the objects they contain in their tags. This is accomplished by using cascading style sheets. This technology allows you to specify descriptions of all used tags either at the beginning of the document inside a separate special tag, or in a separate file. This allows you not only to make the HTML page more readable, but also to create your own tags, the descriptions of which are stored separately.

Recommended: