6 blank spaces and HTML6 blank spaces in HTML
HTML provides five space entities with different widths. Non-broken line spaces (& nbsp;) are the width of regular spaces and can run in all mainstream browsers. Other spaces (& ensp; & emsp; & thinsp; & zwnj; & zwj;) vary in width in different browsers.& Nbsp;It is called "No-Break Space". It is the most common Space that we use most. Most people may only access & nbsp ;, it is a space generated by pressing the space key. In HTML, if you use the space key to generate this space, the space will not be accumulated (only one space is counted ). It can be accumulated only when the html Object Representation is used. The width of the space occupies is obviously affected by the font.& Ensp;It is called "halfwidth Space", full name is En Space, en is the unit of measurement for font printing, half of em width. As defined, it is equivalent to half of the font level (for example, 8 Px in a 16 PX font ). In name, it is the width of lowercase letter n. This space inherits the consistent features of the space family: transparent. This space has a very stable feature, that is, itsThe occupied width is exactly 1/2 Chinese characters.And is basically not affected by the font.& Amp; emsp;It is called "fullwidth Space" and its full name is Em Space. em is the unit of measurement for font printing, which is equivalent to the number of points currently specified. For example, 1 em is 16px in the 16 PX font. This space also inherits the consistent characteristics of the space family: transparent, this space also has a very stable feature, that is, itsThe occupied width is exactly one Chinese width.And is basically not affected by the font.& Thinsp;It is called a narrow Space and the full name is Thin Space. We may call it "thin space", that is, the space is thin, the body is thin, and the occupied width is small. It is 1/6 in width of em.& Zwnj;It is called Zero-Width Non-concatenation, and its full name is Zero Width Non Joiner, referred to as "ZWNJ". It is a Non-printable character that is placed between two characters in electronic text, suppress the hyphens that would have occurred, but draw them with the original glyphs of these two characters. In Unicode, The ing of zero-width non-concatenation characters is "" (zero width non-joiner, U + 200C), and the HTML character value reference is: & #8204;& Zwj;It is called Zero-Width concatenation. Its full name is Zero Width Joiner, referred to as "ZWJ". It is a non-printable character and placed in some complex typographical languages (such as Arabic and Hindi) so that these two characters do not have a hyphen effect. The Unicode code bit of zero-width concatenation is U + 200D (HTML: & #8205; & zwj ;). In addition, the browser will parse the following characters as blank spaces: space (& # x0020;), table feed (& # x0009;), line feed (& # x000A ;) and press enter (& # x000D;) and (& #12288. Source: http://www.oicqzone.com/pc/2015083122336.html