Sign in Registration
ruen

How html works, correct page layout

This language is designed to markup documents, mainly web pages. It includes many tags, some are gradually being removed, some new tags are added. The language is based on the specification , based on which browser developers implement tag handling.

html-work

The language is simple, almost anyone can learn it, just a little practice. In short, the text is taken and wrapped in the necessary tags - in the end, the desired result is obtained. With the help of such a language, it became possible to represent documents in a completely different form than just text. Various visual effects have been added, user interaction with the document has appeared.

The language itself is processed by the browser engine; when the page is loaded, the source code is fed to it as input, which it quickly parses. To distinguish plain text from html tags , they are wrapped with symbols. There is also a list of reserved words in the engine itself, which are calculated as tag names. Therefore, when processing the source code by the engine, there are no problems with the recognition of tags and plain text.

The engines are different, at present all browser manufacturers strive to use the same engine in their browsers, or an engine with similar functionality. For example, the most popular Google Chrome uses the Blink engine , Mozilla Firefox uses Gecko .

The browser engine parses the html code, creates a complete hierarchy of elements in its memory, fixes invalid tags, etc. That is, html, unlike ordinary text, needs to be processed on a special pipeline of the engine, only after that the text enclosed in tags will look as it should. The browser is just an interface for viewing pages, in fact, you can abandon it and use only plain text, html tags and the engine for generating pages. Such a bundle can be implemented anywhere, as a result it will be possible to view the designed pages anywhere.

Page layout is the process of forming a page using tags and styles as needed. For correct layout of pages using tags, it is enough to study the list of tags and their capabilities. Use only up-to-date tags, exclude the use of outdated ones. It is important to adhere to the compatibility tables between different browsers so that there are no problems with the page display. When writing tags, use appropriate tags to give semantic meaning to the content, rather than relying solely on the external effect of the tags.

Comments (0)
For commenting sign in or register.

Latest articles

Popular sections

Eqsash (Tools)

Android app - VK LAST USER ID, отучитель от зависимости и т.д.:
Available on Google Play

Amessage (Communication)

Login to the web version
Android app:
Available on Google Play

Share this

Subscribe to

YouTube

Books

IT notes - In simple language about the most necessary things (HTML, CSS, JavaScript, PHP, databases, Drupal, Bitrix, SEO, domains, security and more), PDF, 500 p.