Press the soft key and press enter to delete blank lines in word.

Source: Internet
Author: User

Press ENTERIt is generated by pressing the carriage return. It also separates paragraphs while wrapping. Soft press ENTERShift + enter is used to generate a new line, but it does not change the segment. That is, the first and second sections of the text belong to the same "segment" in word ". You will understand this in the application format. Differences between the two in MS word: The difference between a soft carriage return and a hard carriage return is that in the future, when a user changes the left and right boundary of the layout and re-typeset, word automatically deletes the original soft carriage return symbol and generates a soft carriage return symbol at the end of the new line. However, no matter how you change the surface, the line feed always exists.

The commonly used carriage return is a hard carriage return, that is, the curved Small Arrow generated by hitting Enter in word, which occupies two bytes. This type of carriage return can effectively mark the paragraph out clearly. The text between two hard carriage returns is a paragraph. You can set a paragraph mark for it without worrying about the impact of other paragraphs. This is why we are used to using hard carriage return: convenient typographical layout. However, hard carriage return also brings us trouble. If you are a web designer or a forum Ranger, you must have the following experience: when you plan to change the line, the line you want to change is not flattering, and the line spacing is too large! In fact, this is the same as the principle of hard carriage return, but it is not displayed in the text editor such as Word ". However, such typographical layout has indeed caused a lot of difficulties. At this time, we have to ask the hard press enter brother: soft press Enter. Soft press ENTER occupies only one byte, and is a downward arrow in word. If you have copied text from a complex web page to a word, you will not be unfamiliar with it. However, it is not easy to enter soft keys in word. Because soft carriage return is not a paragraph mark, it just starts a new line, not a segmentation. Therefore, it is not very conducive to text layout, because it cannot be used as a separate segment to be given a special format. However, it still plays an important role in web design. Soft carriage return can greatly reduce the line spacing between the two rows, because it is not a paragraph mark, it must be different from the legal paragraph mark-hard carriage return. The HTML code of the hard carriage return is <p>... </P>, the content of the paragraph is in it, and the soft carriage return code is very lean: <br>. Therefore, if you want to use soft carriage return on a webpage, you only need to switch to the code page and type the soft carriage return code. Next, let's talk about the conversion of carriage return when different editors copy texts to each other. If the text on the webpage is copied to word, press enter to convert it into a curved arrow, and press enter to the downward arrow. As a result, the friends who are used to editing text with word are not very comfortable. The same is true for copying text in word to a webpage. It can be said that word is compatible with Web pages, or how can we choose "Save As web page? Notepad is also a relatively large editor. But in recent years, with the development of society and the disadvantages of notepad, many people have entered the Cold palace. I can only express my regret for this, because notepad is not rich in its own functions and it is an advantage that other editors cannot replace. When you copy the text on the webpage again, paste it in notepad. Haha, no matter what the webpage designer uses, it is now a carriage return! Why? Let's take a look: soft carriage return is a normal carriage return, and hard carriage return is a normal carriage return. You can copy text from notepad to word, and press enter in notepad is changed to hard press enter without exception! Copy the text from the notepad to the Web Editor. All the carriage returns are soft carriage returns !! We often download some articles on the website. The most commonly used "Ctrl + C" and "Ctrl + V" are often in messy word formats, with many characters that we don't really want, delete them one by one to ensure that you are suffering from death. Sometimes it is even better to re-enter them for convenience. Is there any better way? I learned some things through my exploration!
Scenario 1: If "Ctrl + V" is used, there are tables and texts on the word page (sometimes the table is not displayed when the page is selected, but there are tables after it is pasted), there are many blank rows, it's a mess!
Solution: first select a table (you can directly place the insert point cursor in the table), and then convert the table into text in the table -- convert -- table. You will see that the table is gone! Is it true to delete empty rows? Let's look at situation 2!
Case 2: After "Ctrl + V" is pasted, it is too slow to manually delete many blank lines on the page! How can I quickly delete empty rows?
Solution:
Press Enter:
"Edit -- Replace"-the search content is "^ P", replace it with "^ P" -- and replace all!
Soft press Enter:
"Edit -- Replace"-the search content is "^ L", replace it with "^ L" -- and replace all !" (Here we use not 1, but lowercase letters. You can also replace the "special characters" in the dialog box with "manual line breaks ")

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.