the Internet Windows Android

Separation for strings, spaces and tabulation in HTML documents. Using gap symbols for HTML code formatting, non-dissolving space and other special mixers (mnemonics) HTML tab

Tag

The tag sets the tab to the tab. It is similar to the use of Escape sequence / t.

1 2 3 \\ t \\ t \\ t4
Display:
1 2 3 4

The distance to which the string is shown when the tab is introduced into it, can be set arbitrarily. To do this, serves the TABSTOPS tag attribute.

The tag is not a standard HTML tag. It was added to the Flash markup tags in order to format texts to be carried out uniformly.

Tag ...

The tag is responsible for such characteristics of text formatting, like fields, deceit-Py and string shifts. It can set the following attributes:

Leftmargin. Left field size in points. Analogue - TextFormat class leftmargin property.

RightMargin. The value of the right field in points, analogue - the property of the RightMargin class TextFormat.

Indent. An indent of the first line of paragraph in points. Among the properties of the TextFormat class it is similar to the Indent property.

Blockindent.

A penalty of a text paragraph left in points. Analog - Blockindent Property
TextFormat class.

Leading. Distance between lines in points. Similar properties of class TextFormat - Leading.

Tabstops. The attribute determines which string offset in points will cause each tab of the tab in the sequence. Its value is the list of numbers in which the distances are spelled out, to which the string is shifted to the window, if 1, 2, 3, ... P symbols of the tab. Analogue of the TABSTOPS attribute is the TextFormat TabstopS property.


pole.html \u003d pole.border \u003d pole.multiline \u003d True;
pole.htmltext \u003d "

0DIN TABR\u003e Two Tabar\u003e
Three Tabar\u003e

";

The tag is not a standard HTML tag. It was introduced so that the possibilities of the text markup using tags were similar to the application of the Text Format class properties.

Tag ...

Tag Designed to apply CSS class style relative to an arbitrary text fragment.

The class name is specified in its Class attribute.

This.createtextField ("Pole", 0, 150, 150, 200, 90);
pole.autosize \u003d pole.border \u003d pole.multiline \u003d True;
// Create three class styles that task red, green and blue text
Var Style: TextField.StyleSheet \u003d New Textfield.StyleSheet ();
Var Green_Text: String \u003d ".Green (Color: # 00FF00)";
var red_text: string \u003d ".red (Color: # FF0000)";
var Blue_Text: String \u003d ".Blue (Color: # 0000FF)";
STYLE.PARSECSS (Green_Text + Red_Text + Blue_Text);
pole.StyleSheet \u003d style;
// Display text created by styles
Pole.Text \u003d " 3Lone Text

Red text

Blue text ";

There is a difference between the fact that posted in your HTML code and that displayed In the browser.

How we have already seen tags HTML, such as<р> , just read by the browser (to know what a type content written), but do not displays in him.

We also saw how to write comments In the HTML code to help a person with reading code, without having to display these comments in the browser.

Another type of written code, which ignored Browser is space, it includes:

  • row transfer;
  • empty lines;
  • tabulation (or indentation).

Transfer string

Rifters and empty lines (which are a sequence of string ports) in the HTML code ignore browser. They constitute only one space.

The initial idea of \u200b\u200bWeb was that it should be a joint space, where you can communicate through the exchange of information.

To real insert Row transfer You need to use an item
:

At best, life is completely
unpredictable

Tabulation

Tabulation - This is a special character obtained using the TAB key. It usually moves the cursor to the next tab of the tab, but sometimes turns into two spaces.

Anyway, like an ordinary gap, tabulation invidima. It is also ignored by the browser:

Let's wonder this text tab.

If you want to add space before In short, you will have to use CSS.

If you want to close the HTML element, then you must first close all your child elements.

Wood formatting

Insofar as hTML elements may be invested in each other, you must follow procedurein which they were open, as it will affect the order in which they are closed.

This code is written in one string.

Due to what it can be difficult to monitor the order in which HTML elements were opened, it is recommended to write HTML in the form of a tree:

This code is written in some lines, but nevertheless will be displayed as one line.

Formatting in the form of a tree allows visually Play neves level level Your HTML code. It makes it easy to see that:

  • is an ancestral;
  • - parent for and ;

  • and - this is fraternal Elements.

Write html for yourself to read it

Tab, empty strings, a set of spaces and row transfers are lowered by a computer and all of them turn into one gap.

HTML document is written and read by man, but the computer is just read. Considering that tabulation, gaps and string transfers do not affect how the browser will read and subsequently display a web page, you can format your document most readable for himself way.

There are no specific rules relating to HTML formatting, but there are implicit agreements, in particular:

  • use tabulationto help visualize investments HTML elements;
  • insert opening and closing block elements on separate strings;
  • write lowercase items in one line (including opening and closing tags).

When the document is displayed on the screen, spaces and empty lines are not saved, with the exception of the text enclosed in tags Pre. (Pre-formatted text). That is, any sequence of spaces, tab symbols and empty lines are equivalent to the only space in the HTML file. On the other hand, the gap in the HTML file can be represented using any number of spaces or new (empty) lines.

Term nEWLIN. (New line) Used to theoretically designate the end of the string. SGML determines that the string (recording) should begin with the starting symbol (newline - the translation of the string, LF, ASCII code 10) and end with the end of the recording (Return of the carriage, CR, ASCII 13). In practice, HTML documents are represented and transmitted using the newline representation matched with computer systems. Therefore, HTML browsers allow for supporting any of the three generally accepted strings separation representations denoted by the CR LF sequence, only CR, or only LF, and on the basis of such an assumption and allocate the errors of the initial and final record symbols.

Thus, it does not matter how you divide the text to the strings, as the translation of the string is equivalent to the space. Note, however, that you do not have to divide the word into the HTML into two lines. If you, for example, divided the IRNational word into two lines, as is shown below:

Inter- National

it will be interpreted as

Inter- National

Thus, for the logical presentation of your document, you must use such HTML tags like P. or Br.To ensure that the row is translated.

Browers usually do not share words for two lines, except in cases where the word contains a hyphen. Reference Specifications HTML 3.2 is not very accurate with respect to this issue and when discussing the section of the table, the following is given:

For some user agents, it may be necessary or desirable to translate the string within the word. In such cases, it is desirable to make sure that it happened.

Be afraid the length of the line went beyond the boundaries of your control.. It depends on the browser, computer and installations made by people viewing your document. Generally speaking, there is no means to prevent the translation of the string between words, but you can try to warn the row translation using continuous spaces.

As for the use of a row translation in combination with HTML tags, that is, special rules:

  • The translation of the string next immediately at the initial tag is ignored. For example, strings
  • Similarly, the translation of the string preceding the end tag is ignored. For example, strings

The horizontal tab symbol (HT) can be used in the HTML document. But within the element Pre. The tabal symbol has a special interpretation, equivalent to the space and does not carry information about the tabulation of any kind. (To submit tabllated data, use the item table.) It is almost better to avoid inclusion of tab characters to HTML code and use the appropriate number of spaces instead if you need to format the HTML document source code in a tabulated form.

Hello, dear blog readers Site! Those who at least superficially managed to familiarize themselves with, probably, have already taken note, albeit in general terms. So, have an idea of \u200b\u200bwhich at all HTML characters are used in the document code.

In today's article, we will try to figure out that it represents a space in HTML, in what cases can applicable symbols can be used when formatting the code itself for convenient perception. We learn when it is necessary to use an inseparable space, and also get acquainted with other special symbols (or, as they are also called, mnemonics).

In fact, I would advise not to ignore the use of various special characters, because it is an important component that allows you to make the completion of the study of the language of hypertext marking. In general, information provided in this publication will not definitely not be. Well, now to the case.

Spaces and Blind Symbols in HTML

First you need to make an important remark. On the computer keyboard there are special keys that allow you to implement the division of the text (a little more about it below). However, only a wide space key provides a section between words not only in the editor, but also in the browser window. When transferring rows and indent from the edge there are nuances.

As you know, the display of certain elements in the webbruser is determined by tags. For text formatting, a known is used, which is block. That is, its content is located throughout the available width.

To transfer lines inside paragraph PYou need to use a single BR tag, with which it can be done. Let's say we need to insert some lines from the poems that we write in a text editor:

Despite the fact that the lines of verses are located correctly and transfers are carried out in the right places, everything will look different in the browser:


To achieve the same display in the web browser window, you need to register br:

Now we have achieved the completion of the task and in the browser, the poetic lines will appear completely correctly:

Thus, the necessary string transfers are made. It also needs to be noted such a feature that multiple gaps running one by one, the webbuser displays as one. In this you can make sure that in the same editor you will try not one, but several gaps between the two words and by clicking on the "Save" button, look at the result in the browser.

Space, tab and row transfer

In principle, with these blind symbols We get acquainted right away how we start working with the text in the editor and format it in the right form. To implement such a task there are special keys, each of which corresponds to its globular symbol:

  • The space is the widest key on the computer keyboard (without inscription);
  • Tab - key to the left with the inscription "Tab" and two arrows directed in different directions;
  • Row transfer - "ENTER" key.

However, as I said above, the final desired result is not only in the text editor, but also in the browser, we get only when using the first key. All three keys (including tab and the transfer of the string are useful to use when formatting the HTML code. Let's say, here's how the code fragment looks like in NotePad ++ (sensible material is about this editor) when all the space characters are displayed:


We get a code that is easily read and understands thanks to the spaces. An orange arrows marked indents created using the Tab key, and the CR and LF symbols of the lines carried out by Cavishi ENTER.

The containers nested one in another are visible, opening and closing tags are well allocated. In this form, this code can be calmly edited. And now compare it with the same code, in which there is no similar division of the text:

In the same way, using the space characters, the CSS rules can also be prescribed, which will visually look clear and responding:


After you bring all the styles to a common denominator and fully finish editing the style file, it will be possible to subjected to all the spaces from the code. It is necessary to increase, which is very important when promoting the resource.

Special moles (or mnemonics) in HTML code

Now we will analyze, in what cases it is necessary to use special characters that I mentioned at the beginning of the article. HTML special moles, which are sometimes called mnemonics, are introduced to solve a long-standing encoding problem that occurred in the language of hypertext markup.

When you set the text from the keyboard, the language symbols are encoded that you use. The webBrawner will be displayed in the webborer using the fonts you choose as a result of the reverse decoding operation.

The fact is that there are many similar encodings, now we have no goal to disassemble them in detail. Just in each of them can not get one or other characters that, however, you need to display. Let's say, it is impatient to prescribe a single quotes or a sign of emphasis, and these badges are not common in the set.

In order to eliminate this problem, a special symbol system was introduced, which includes a huge number of various mnemonics. All starting from the ampersand "&" icon and end with a comma point ";". At first, each special mixture corresponded to his digital code. For example, for an inseparable space, which will be considered slightly below, such an entry will be valid:

But after some time, the most common symbols were assigned letter analogs (mnemonics) so that they were easier to remember. For example, for the same inseparable space, it looks like this:

As a result, the browser displays the corresponding character. List of mnemonic is very voluminous, most frequently used special mix HTML You can detect from below the following table:

symbol the code mnemonics description
inspetent gap
narrow Space (EN-width in the letter N)
wide gap (EM-wide in the letter M)
- narrow dash (EN-dash)
- wide dash (EM -Tir)
­ - ­ soft transfer
but ́ emphasis, put after the "shock" letter
© © copywrites
® ® ® registered brand sign
sign of brand
º º º spear Marsa
ª ª ª mirror Venus
pROMILL
π π π pI (use Times New Roman)
¦ ¦ ¦ vertical dottedier
§ § § paragraph
° ° ° degree
µ µ µ sign "Micro"
paragraph sign
dot
overheading
´ ´ ´ stripging sign
number sign
🔍 🔍 Magnaya (tilted left)
🔎 🔎 Mupa (tilted to the right)
signs of arithmetic and mathematical operations
× × × multiply
÷ ÷ ÷ split
< < less
> > > more
± ± ± plus / minus
¹ ¹ ¹ degree 1.
² ² ² degree 2.
³ ³ ³ degree 3.
¬ ¬ ¬ negation
¼ ¼ ¼ one quarter
½ ½ ½ a half
¾ ¾ ¾ three quarters
fractional trait
minus
less or equal
more or equal
approximately (almost) equals
not equal
identical
square root (radical)
infinity
sign Sign
sign of work
partial Differential
integral
for all (visible only if bold)
exists
empty set
Ø Ø Ø diameter
belongs
not belong
contains
is a subset
is a supertension
not a subset
is a subset either equal
is a supertension or equal
plus in a circle
multiplication sign in a mug
perpendicular
angle
logical I.
logical or
crossing
an association
currency signs
Euro
¢ ¢ ¢ Cent
£ £ £ Lb
¤ ¤t; ¤ Currency sign
¥ ¥ ¥ Jena and Yuan sign
ƒ ƒ ƒ Florin sign
markers
. simple marker
a circle
· · · middle point
cross
double cross
peaks
clubs
hearts
diamonds
rhombus
pencil
pencil
pencil
hand
quotes
" " " double Quotes
& & & ampersand
« « « left typographical quotes (quoting-christmas tree)
» » » right Typographical Quotes (Quoting Fear)
single Corner Quoting Opening
single angular quoting closing
barcode (minutes, feet)
double barcode (seconds, inches)
left Upper Single Quotation
right upper single quotation
right bottom single quotation
lady Foot
cauldle-foot right top
cutter-foot Right bottom
single English Quoting Opening
single english quoting closing
double English quotes opening
double English quoting closing
arrows
arrow left
up arrow
arrow to the right
arrow to down
left arrow and right
arrow up and down
return carriage
double arrow left
double up arrow
double arrow right
double arrow down
double arrow left and right
double arrow up and down
triangular upward arrow
triangular Down Arrow
triangular arrow to the right
triangular arrow left
asterisks, snowflakes
Snowman
Snowflake
Snowflake squeezed by shafts
Fat shargal snowflake
Touchy Star
Increased star
Increased star in the painted circle
Star with an immature circle inside
Rotating Star
Distributed White Star
Medium unstracted circle
Mid-sized circle
Sextile (type of snowflake)
Eight-pointed rotating star
Star with spherical endings
Overall eight-pointed drop-like stars-propeller
Sixteen stars
Twelve-pointed stacked star
Overall eight-pointed straight stained star
Six-pointed stacked star
Eight-pointed straight painted star
Eight-pointed painted star
Eight-pointed stars
Star with an immature center
Oily stars
Pointed four-pointed unwrapped star
Pointed four stars
Star in Circle
Snowflake in a circle
clock, time
Clock
Clock
Hourglass
Hourglass

Cases of use of some special symbols, including an inseparable space and soft transfer

If you have already studied the table a little, I received confirmation by what I said above said that it uses a digital code () or its letter analog (symbol mnemonic), where the letter () is written instead of the totality of the grille and numbers.

Now let's see when you need to apply these codes. Say, in the article you need to inform some HTML tag, for example,

. If you type the angular brackets from the keyboard (and this feature is), the browser will take such a design as the opening tag, and not as a simple fragment of the text.

Therefore, from the same table of HTML specialsters, we take the corresponding codes and the entire entry will look like this:

In addition, to display in the browser is not a sign of ampersand, and its designation in video

You need to add its code from the table:

Footer.

Then the record of the mnemonic will be displayed in the browser to be applied to display the Footer tag. A little confused, but on this page you can practice in this aspect by entering in the "HTML" field of mnemonics for the corresponding characters and cycling the "RUN" button, and in the area "RESULT" obtaining the result of their display in the browser:


Please note that I ensured the text transfer using the already mentioned BR tag so that the characters themselves are displayed not in one line, but a batch for convenience.

Go ahead. Sometimes in the text there are combinations that are undesirable to divide on different rows. Let's say "1000 rub." will be logical or leave on top string, or with a lack of place, move the entire design to the string below.

This is especially true if users use devices with different screen widths, including mobile. Indeed, in this case, the webbrorezer formats the text, adjusting to new conditions. And if with the standard dimensions of the monitor, the text looks correctly, then when they change, everything can change.

For these cases provided inspetent HTML SpaceI mentioned about. Let me remind you that in this case the space code is:

And it needs to be inserted between the two sets of signs that you want to associate:

1000 rub.

Now the browser will in no way share them, even if text formatting is required for its correct display.

It also happens such a situation where a very long word is not placed in free space and it is required to transfer it part. How to predetermine the transfer to new string in this case? For this is special mild gear - to be placed in the place in which the word needs to break:

Long-Definudinous Elderly

If there is a situation when the word needs to be transferred, then the place of finding mnemonics of soft transfer is formed, where the transfer sign will appear (hyphen), and the remaining part of this word will be lower than the next line.

However, again, it will be useful all this business, including examples of inseparable and soft transfer, to follow the person in practice:


In the window of this editor, you can change the size of the "Result" view, capturing the left mouse button the edge of this area and, without releasing it, pull to the left to reduce the width. Then the real situation occurs when the browser begins to reformat the contents for its correct display.

And transfer is carried out, which was provided in the examples described by me. However, you yourself can move the viewing window, expanding it-narrowing it, and visually make sure that.

Hello, dear blog readers Website. A little earlier we have already managed to talk about whether they also learned about the design in it. Today we have the concept of a gap in HTML in turn, and still associated with it formatting the code when writing it (for the convenience of subsequent reading and perception).

Well, due to the fact that we will touch on the subject of an inseparable space and soft transfer, we will have to emphasize our attention on the so-called special mixes or mnemonics used in the HTML language, which will allow you to add a lot of additional characters to the Web code, which seems to be mentioned above . But first things first.

Spaces and Blind Symbols in HTML

Before moving to the issue of text formatting using specially designed tags (paragraph, headlines, etc.), I want to stop at that moment, as in the HTML language, spaces, string ports (ENTER) and tabulation, how to break Text in the browser window when changing its size.

True for this kind of visual formatting (which will not be seen on the web page) most often use the gaps themselves, namely the tabs and the row transfer symbols. There is such a rule - when you start writing nested HTML TagT. make an indent with tabs (Tab key on the keyboard), and when this tag is closed, then remove the indent (the keyboard shortcut on the keyboard).

It is necessary to do this so that the opening and closing tags would be at one vertical level (on the same number of tabulations from the right edge of your HTML editor, for example, NotePad ++, which I wrote about). In addition, I advise you immediately after writing the opening item to make multiple line portes and immediately register on the same level (the number of tabulations) so that you do not forget to do it.

Those. The opening and closing elements should stand on the vertical level, and the internal tags shift to one tab of the tab and we have closing and open again at the same level.

For simple web documents, this may seem excesses, but when creating more or less complex, their code will be much more visual And readable due to the abundance of spaces, as well as in it, it will be much easier to notice errors due to the symmetric location of the tags.

Special mixers or mnemonics in HTML code

So, now let's talk about the so-called special characters, the convenience of using which I announced at the beginning of this article. The special mixes are sometimes called mnemonics or substitutions. They are intended to solve quite a long time in the Hypertext markup language associated with the encoding used.

When you type the text from the keyboard, it is encoding the characters of your language by a predetermined algorithm, and then they are displayed on the site using the fonts you use (where to find and how to install for the site) by decoding.

Encoding there is a lot, but for the HTML language, an extended version of the encoding was adopted by default.

In this text encoding it was possible to write only 256 characters - 128 from ASCII and another 128 for the letters of the Russian language. As a result, a problem arose using signs on sites that are not included in ASCII and are not the letters of the Russian language, which are part of windows encoding 1251 (CP1251). Well, they decided to use a tilde or apostrophe, and the possibilities are originally in the hTML language The encoding is not laid.

It was for such cases that substitutions were invented or, in other words, mnemonics. Initially special mixers had a digital type of recordBut then for the most common of them, their letter analogues were added for simplicity of their memorization.

In general understanding, mnemonics is such a sign that begins with Ampersand "&" and ends with a point with a comma ";". It is on these signs a browser when hTML parsing Code highlights the specialimwill from it. Immediately behind the ampersand in the digital substitution code should follow the "#" lattice sign, which is sometimes called hash. And then the digital code the desired symbol In the encoding Unicode.

In Unicode, you can write more than 60,000 characters - the main thing is that the mnemonic symbol needs you to be supported by the font used on your site. There are fonts with support for almost all Unicode encoding signs, and there are options only with a specific set of characters.

Full list of specialsmols will be just huge, but most frequently used mnemonics You can borrow, for example, from this table:

CymolovHTML codeDecimal
the code
Description
inspetent gap
narrow Space (EN-width in the letter N)
wide gap (EM-wide in the letter M)
- narrow dash (EN-dash)
- wide dash (EM -Tir)
­ - ­ soft transfer
but ́ emphasis, put after the "shock" letter
© © copywrites
® ® ® registered brand sign
sign of brand
º º º spear Marsa
ª ª ª mirror Venus
pROMILL
π π π pI (use Times New. Roman)
¦ ¦ ¦ vertical dottedier
§ § § paragraph
° ° ° degree
µ µ µ sign "Micro"
paragraph sign
dot
overheading
´ ´ ´ stripging sign
number sign
🔍 🔍 Magnaya (tilted left)
🔎 🔎 Mupa (tilted to the right)
signs of arithmetic and mathematical operations
× × × multiply
÷ ÷ ÷ split
< < less
> > > more
± ± ± plus / minus
¹ ¹ ¹ degree 1.
² ² ² degree 2.
³ ³ ³ degree 3.
¬ ¬ ¬ negation
¼ ¼ ¼ one quarter
½ ½ ½ a half
¾ ¾ ¾ three quarters
fractional trait
minus
less or equal
more or equal
approximately (almost) equals
not equal
identical
square root (radical)
infinity
sign Sign
sign of work
partial Differential
integral
for all (visible only if bold)
exists
empty set
Ø Ø Ø diameter
belongs
not belong
contains
is a subset
is a supertension
not a subset
is a subset either equal
is a supertension or equal
plus in a circle
multiplication sign in a mug
perpendicular
angle
logical I.
logical or
crossing
an association
currency signs
Ruble. The ruble sign should be used with a fold from the number. Unicode 7.0 standard. If you do not see the image, update your unicode fonts.
Euro
¢ ¢ ¢ Cent
£ £ £ Lb
¤ ¤ ¤ Currency sign
¥ ¥ ¥ Jena and Yuan sign
ƒ ƒ ƒ Florin sign
markers
. simple marker
a circle
· · · middle point
cross
double cross
peaks
clubs
hearts
diamonds
rhombus
pencil
pencil
pencil
hand
quotes
" " " double Quotes
& & & ampersand
« « « left typographical quotes (quoting-christmas tree)
» » » right Typographical Quotes (Quoting Fear)
single Corner Quoting Opening
single angular quoting closing
barcode (minutes, feet)
double barcode (seconds, inches)
left Upper Single Quotation
right upper single quotation
right bottom single quotation
lady Foot
cauldle-foot right top
cutter-foot Right bottom
single English Quoting Opening
single english quoting closing
double English quotes opening
double English quoting closing
arrows
arrow left
up arrow
arrow to the right
arrow to down
left arrow and right
arrow up and down
return carriage
double arrow left
double up arrow
double arrow right
double arrow down
double arrow left and right
double arrow up and down
triangular upward arrow
triangular Down Arrow
triangular arrow to the right
triangular arrow left
asterisks, snowflakes
Snowman
Snowflake
Snowflake squeezed by shafts
Fat shargal snowflake
Touchy Star
Increased star
Increased star in the painted circle
Star with an immature circle inside
Rotating Star
Distributed White Star
Medium unstracted circle
Mid-sized circle
Sextile (type of snowflake)
Eight-pointed rotating star
Star with spherical endings
Overall eight-pointed drop-like stars-propeller
Sixteen stars
Twelve-pointed stacked star
Overall eight-pointed straight stained star
Six-pointed stacked star
Eight-pointed straight painted star
Eight-pointed painted star
Eight-pointed stars
Star with an immature center
Oily stars
Pointed four-pointed unwrapped star
Pointed four stars
Star in Circle
Snowflake in a circle
clock, time
Clock
Clock
Hourglass
Hourglass

There is quite interesting method of receipt hTML code Mnemonic For the sign you need. To do this, it will be enough to open microsoft Editor Word, create new document And choose from the "Insert" from the top menu - "symbol" (I use 2003 version, so I do not know how to make a similar operation in later versions).

In the window that opens, you need to select a font, for example, Times New Roman (or any other, which will know how to attend most computers of visitors to your site - Courier or Arial, for example).

Add from the listing list to your document Word. All the specialists you need and save this Word document as a web page (selected from the ".html" drop-down list when saving). Well, and then you will only stay open this web page in any HTML editor (All the same NotePad ++ is suitable) and you will see all the digital codes of the mnemonic you need:

The method is a bit complicated, but if it is imparting to use some rare special special special on the page of your site, it will be easier than to find a table on the Internet, similar to the slightly higher. You need to insert the special code code to insert in the desired location and instead of it on the web page the browser will display the sign you need (for example, an in-existing space).

Inspetent gap and soft transfer in the examples

As I have already mentioned above and how you can see from the specially above tables of special symbols, some mnemonics in HTML got except for digital symbolic designation for their simpler memorization. Those. Instead of the sign of the lattice "#" (hash), words are used in symbolic versions. For example, all the same integrated gap can be recorded either (digital mnemonics), or as (symbolic).

When writing articles, if you need to insert an ampersand (&) sign or the opening corner bracket into the text of the document (<), то для этого обязательно нужно использовать спецсимволы. Дело в том, что эти знаки в Html означают начало тега и браузер будет рассматривать их именно с этой точки зрения и отображать в тексте не будет.

Those, if you write an article in which you will need to insert in the text, for example, the display of the tag< body> Or you just need to insert a smaller sign (<), то сделав это без использования подстановок на веб странице вы ничего не увидите, т.к. браузер, обнаружив «<» , поймет, что это Html тег, а не текст статьи.

Therefore, you will need to insert the following design to solve such a task:

The same applies to the name of the codes of the mnemonic themselves, for they begin with Ampersand. You will need to insert code to the text with the replacement of the ampersand sign on its substitution (specialist):

It will need to do to get on the page<, а не отображение левой угловой скобки (<), в которую преобразует браузер мнемонику <, обнаружив при разборе знак амперсанда. Хитро, но вы все поймете попробовав это на практике.

You will most likely use an indisputable space that will look like a regular space on the web page, but the browser will not perceive it as a blank symbol in general and will not carry out the transfer (for example, it will be appropriate for such phrases as 1,400 GB, etc., which will not desirably distribute the transfer by different rows):

1400 GB

Sometimes there may be an inverse situation when there are very long words in the text and I want to make it so that when you need a browser could break it word by transfer. For such purposes there is a special "soft transfer" -

Long Princline & Shynoxo;

If you need to transition to another line, the browser, instead of mnemonic soft transfer, will put a hyphen and send the remaining part of the word to the next string. If there is enough space to accommodate the entire word on one line, then there will be no browser to draw a line. That's how it's simple.

Good luck to you! To ambiguous meetings on the blog pages Website

You may be interested

MailTo - what is it and how to create a link to send an email
Tags and attributes of H1-H6 headers, HR horizontal line, briefing RR and paragraph P according to HTML 4.01
How to insert in HTML link and picture (photo) - IMG and A tags
What is the HTML Hypertext Markup language and how to see the list of all tags in the W3C Validator
Font Tags (Face, Size and Color), Blockquote and Pre - Outdated text formatting in pure HTML (without using CSS)
As colors are set in HTML and CSS code, the selection of RGB shades in the tables, the issuance of Yandex and other programs
Comments and DOCTYPE directives in HTML code, as well as the concept of block and lower case elements (tags)
Lists in HTML code - UL, OL, LI and DL tags