Five solutions for section indent during webpage Creation

Source: Internet
Author: User

1. manually add two Chinese spaces to display the position indent effect.
2. Insert a dot chart or image.
A dot chart contains only one or several pixels and cannot be seen by the naked eye. When we insert such a dot chart at the beginning of a paragraph, and adjust the spaces between the left and right sides of the dot chart and between the upper and lower sides of the dot chart by using the attributes of heat form and vspace to indent the paragraph.
You can also insert an image, but the color of the image must use the webpage background color. In this way, adjust the image size using the width and height attributes of IMG to achieve indentation.
to insert a graph, we need to master the scale of the size of the two Chinese characters, so that we can set aside the positions of the two Chinese characters.
3. Insert a table with no borders or content
similar to the preceding figure insertion method, the table has no borders or content and is a blank table. Adjust the table size with the table width and height attributes to suit the indentation needs.
using tables to locate pages is generally relatively reliable. I often use this method to locate complex pages. However, there is a problem with this method, that is, the source file of the page may become larger. Therefore, it is not necessarily the first choice for format control.
4. Insert a special space character "& nbsp"
"& nbsp" indicates that the space character is not displayed. Insert several "& nbsp" characters separated by semicolons (;) or spaces. You can also indent Chinese paragraphs. However, in Netscape 3.01, only lowercase letters can be written, while in IE, uppercase and lowercase letters can be used.
these four methods are mainly used to compile webpages using HTML languages. Some web page creation tools, such as webscape browsers, can be used to add space to the toolbar, and the paragraph can be indented.
5. Pre-format
when a source file is written in pre-format, it is displayed according to the typographical characters in the source file. blank lines and spaces can be clearly distinguished. If the source file is:

 
-- pre-format display ......

The webpage will be displayed according to the pre-configured display mode, that is, the location of two Chinese characters will be blank before the pre-format display.
With the above method, you can solve the problem of paragraph indent in the web page creation.

 

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.