Html encoding How web pages are painted

As a way of encoding information for transmitting it via the Internet, html encoding is used. The determining parameter during this process is the number of bits involved, it is with their help that a certain character is transmitted. So one bit encodes a pair of values, two bits are designed to encode four values, three bits - eight. By adding a bit, you can double the number of encoded values. So, 8 bits are capable of encoding 256 sequences (values) in binary code. A notable feature is that each sequence retains the ability to transmit one text character. An alternative to encoding eight bits is encoding for 16 and 32 bits, they already can handle 65536 and, accordingly, 4294967296 text characters.

Html encoding




Opening the Internet Explorer browser included with Windows OS, you can see an extensive list of different encodings in the "View - Encoding" menu item. It should be remembered that the Russian html encoding is represented by six main tables that support the Cyrillic alphabet. The most common among them is Windows-1251, followed by ISO-8859-5, UTF-8, KOI-8R, KOI-8U, there is also a Russian-language encoding for the Mac environment.
Russian html encoding








Html encoding allows you to correctly display information on a web page. Thanks to the existing protocol, there is an exchange of service information between the server and the web browser, which contains comprehensive information about the method used to encode text.

HTTP, - , , () . (-), ().

html . -. , , , .

Html color coding




The html color coding takes place by setting the necessary shade in the gradations of the primary colors. To obtain the desired color on the monitor, it is necessary to mix the basic colors in the required proportion - red (red), green (green) and blue (blue). So, writing in RGB code for pure red looks like rgb (255,0,0). The numerical set in brackets for green will be represented by a selection of 0.255.0, for blue - 0.0.255. Classically yellow color is encoded by a combination of 255,255,0, and the code 255,0,255 corresponds to violet. In black, the numerical combination looks like 0,0,0, in white 255,255,255, and gray 192,192,192.

, html (HEX), #. HEX #000000, - #FFFFFF, - #C0C0C0. , #FF0000, #00FF00, #0000FF .

W3C 16 , HTML CSS. : (aqua), (blue), (black), (fuchsia), (green), (gray), (lime), (navy), (maroon), (olive), (red), (purple), (silver), (white), (teal) (yellow). , , HEX RGB.

A few years ago, the concept of “safe colors” was widespread, limiting the range of colors used in creating web pages to 216 web colors. The development of computer technology has removed all restrictions in this matter.




All Articles