Quite often, placing the text on the website, the author is faced with certain problems. This, and the overall design of the text, its form – paragraphs, font, color, formatting, and special characters such as Nonbreaking space, number, trademark, and many others.
Typically, these problems arise with the texts of scientific or promotional themes for specific characters. And if in text documents, these signs can be easily inserted by insertion or keyboard shortcuts, html document, all is not so simple.
So how to insert special characters in an html document. Non-breaking space can be supplied in two ways – using a mnemonic symbol or with a specific code. The same goes for other special characters such as the ampersand, quotation marks, paragraph, number, greater than and less than signs, and many others.
Mnemonic symbol and numeric code must start with the ampersand (&) and end with a semicolon. Example: non-breaking space - & nbsp;.
Codes and mnemonic symbol characters can be found in special tables. In addition to mark "non-breaking space" in the tables are also made of various diacritical marks, accents, special characters used in linguistics, chemistry, physics and many other Sciences, trademarks, emoticons and more.
What better to use, inserting into the document a non-breaking space? There is no universal solution. On the one hand, not all special characters have a code designation, with another – not always the browser will display the mnemonic code is correct.
Recommended
How to get out of "Skype" on the "Android" and not only
How to get out of "Skype" "Android"? This question bothers many users. The thing is that the messenger is not so difficult. But there are features that are only for mobile versions. To log out of Skype in this case more difficult than it seems. But i...
Kingo ROOT: how to use the program to gain administrative rights on Android
The Gadgets on the platform Android regained the lion's share of the market. Developers are continually perfecting the OS, trying to fit the needs of the users, but from year to year admit palpable mistake: forbid the owner to "stuffing" of his gadge...
How to get from Stormwind to Tanaris: practical tips
World of Warcraft is an iconic MMORPG, uniting millions of players around the world. There are many locations and puzzles, secret trails and larger, but rather dangerous paths. Sooner or later, every player chose the side of the Alliance, we have to ...
It should Also be noted that the digital code does not always display correctly in the document. The reason is that it only determines the location of the sign in the symbol table. Do not forget that the table can be new signs, the numbering may change. Therefore it is preferable to use mnemonic symbols to the document inserting special characters.
But in some cases it is preferable to use a non-breaking space? An Html document is not always displayed the same – the width of the line may vary depending on bruise and computer screen. Therefore, the non-breaking space should be placed between the initials and surname used in the text, the sign of a number and the subsequent digits before the dash and even in those cases when a line break is undesirable. Use a Nonbreaking space is also subject to typographical rules.
Using mnemonic symbols to remember some basic rules. First, all characters should be written only in small letters. Large letters in the markup is invalid - they just are not displayed. Secondly, between the marks must not be spaces. The mnemonic signs, and the codes are written as one word.
If the signs are displayed incorrectly, check the spelling. Quite often, these problems arise if the markup was written in a hurry and notation mistakes have been made and typographical errors.
Remember, mindfulness is the key to successful registration of your text, especially in html format.
Article in other languages:
AR: https://tostpost.com/ar/computers/929-non-breaking-space-and-some-other-symbols.html
BE: https://tostpost.com/be/kamputary/1591-nepary-ny-prabel-nekatoryya-nshyya-s-mvaly.html
DE: https://tostpost.com/de/computer/1588-gesch-tztes-leerzeichen-und-einige-andere-symbole.html
HI: https://tostpost.com/hi/computers/929-non-breaking-space-and-some-other-symbols.html
JA: https://tostpost.com/ja/computers/928-non-breaking-space-and-some-other-symbols.html
PL: https://tostpost.com/pl/komputery/1594-twarda-spacja-i-niekt-re-inne-znaki.html
TR: https://tostpost.com/tr/bilgisayarlar/1597-b-l-nemez-bo-luk-ve-di-er-baz-semboller.html
UK: https://tostpost.com/uk/komp-yuteri/1593-nerozrivniy-prob-l-deyak-nsh-simvoli.html
ZH: https://tostpost.com/zh/computers/1006-non-breaking-space-and-some-other-symbols.html
Alin Trodden - author of the article, editor
"Hi, I'm Alin Trodden. I write texts, read books, and look for impressions. And I'm not bad at telling you about it. I am always happy to participate in interesting projects."
Related News
Intel Pentium J2900 review, reviews
Pentium J2900-processor is the perfect solution for compact and energy-efficient computer systems. Both for stationary and for mobile. It is about its options and capabilities will be discussed.Positioning chipIntel Pentium J2900 ...
What is the compendium and is it worth it to buy?
With the announcement of each successive Championships Dota 2 the International, Valve adds in-game store item called Compendium. However, many players do not know about what is the compendium and why to buy it.in-Game bonusesit's...
If you like computer games then you must want to know how to use fraps. It is a special application designed for recording videos and making screenshots. In fact, the name of the program comes from the U.S. the abbreviation, meani...
DHCP server: to install, enable, and configure
every day the number of questions about computers becoming more and more. And many of them are primarily connected with the world network. Among the questions asked by many users, often referred to DHCP. How to install and configu...
Microphone not working on laptop
Some people immediately after making an expensive and long-awaited purchases wonder why they did not work MIC on the laptop which was purchased a few hours ago. But the problem may be not in the equipment, so do not hurry to ...
Civilization 5: mods to the game
Today we talk about the game Civilization 5, mods for which are not less popular than the original version. Special attention deserves project Brave New World which became a great platform for many creators add-ons.Communitas AI a...
Comments (0)
This article has no comment, be the first!