Home  >  Article  >  What is the soft return shortcut key?

What is the soft return shortcut key?

藏色散人
藏色散人Original
2021-05-08 14:51:0124107browse

The soft enter shortcut key is "SHIFT ENTER". This shortcut key can achieve line breaks, but does not change paragraphs. That is, the two paragraphs of text before and after belong to the same "paragraph" in WORD.

What is the soft return shortcut key?

The operating environment of this article: windows7 system, DELL G3 computer

Soft and hard carriage return

Hard carriage return is ordinary people Produced by pressing Enter, it not only breaks lines but also plays the role of paragraph separation.

Soft carriage return is generated by using SHIFT ENTER . It breaks lines but does not break paragraphs. That is, the two paragraphs before and after belong to the same "paragraph" in WORD. You will realize this when applying the format.

Switch: Edit - Replace, click Advanced, click on the manual line break in "Special Characters" in "Find Content", then click on the paragraph mark in "Special Characters" in "Replace with" , and finally click Replace All.

There is only one type of Enter key on the keyboard, ENTER, but there are two different line feed marks. It cannot but be said to be a miracle.

The carriage return we commonly use is a hard carriage return, which is the small curved arrow produced by hitting the ENTER key in WORD, which occupies two bytes.

This kind of carriage return can effectively mark the paragraphs clearly. The text between two hard returns forms a paragraph of its own, and you can set a paragraph mark on it independently without worrying about other paragraphs being affected. This is also the reason why people are accustomed to using hard returns: it is convenient for typesetting.

But hard enter also brings us trouble. If you are a web designer or a forum ranger, you must have had this experience: when you plan to change lines, the lines you change out are really not flattering, the line spacing is too large!

In fact, this is the same as the principle of hard return, but its "original appearance" is not displayed in text editors such as WORD. However, such typesetting does cause a lot of difficulties. At this time, we have to ask the brothers of hard carriage return: soft carriage return.

Soft carriage return only occupies one byte and is a downward arrow in WORD. If you have copied text from a very complex web page to WORD, you will be familiar with it. But it is not so easy to directly enter soft enter in WORD.

Because the soft return is not a real paragraph mark, it just starts a new line, not a paragraph. So it is not very conducive to text formatting because it cannot be given a special format as a separate paragraph. But despite this, it still plays an important role in web design.

Soft carriage return can greatly reduce the line spacing between the two lines before and after it, because it is not a paragraph mark and must be distinguished from the legal paragraph mark-hard carriage return. The HTML code for hard carriage return is

For more related knowledge, please visit the FAQ column!

The above is the detailed content of What is the soft return shortcut key?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn