The method of paragraph indent in Chinese web page making

Source: Internet
Author: User
Tags format empty insert
Web page | Chinese in the production of documents on the content of the Web page, if it is in English writing format, paragraph is generally not indented, if the Chinese format is required to indent, that is, the beginning of the paragraph requires empty two characters position.
In the actual production, there are the following four kinds of paragraph indentation method, now introduced as follows:
   1. Pre-format (PRE)
The source file written in the pre-format, displayed in the source file according to the layout of the words, empty lines and spaces can be clearly distinguished. If the source file is:
< pre>
--Pre-format display ...
</pre>
When the page is displayed, the position of two characters is empty in front of the pre-format display.
   2. Insert point diagram or graphic
A point diagram is one or more pixels in a picture that you can't see with the unaided eye. When we insert such a point graph at the beginning of a paragraph, and then adjust the left and right spaces of the point graph with the hspace and Vspace properties to reach the paragraph indent.
You can also insert a graphic, except that the color of the graphic needs to be in the background color of the page, which adjusts the size of the graphics with the width and height properties of the img to indent.
   3. Insert a table without Borders and content
This is similar to the way you insert graphics, which has no borders or content, and is an empty table. Use the width and Height properties of the table to adjust the size of the tables to fit the indentation.
   4. Insert a special space character " "
"&NBSP" represents a non-display space character. Inserts several " " characters, separated by semicolons (;) or spaces, and also enables the Chinese paragraph indentation. However, in Netscape 3.01, only lowercase letters can be written, and in IE, the case may be.
These four methods are mainly for writing Web pages using HTML language. In some web-making tools, such as Netscape, you can also complete paragraph indents with a toolbar that is designed to include spaces.

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.