Powerful 8 tips for HTML webpage creation _ HTML/Xhtml _ webpage Creation

Source: Internet
Author: User
Although there are many web page creation tools that allow you to easily complete your work, you can gain greater control if you use HTML. Below are some tips. 1. It is much better to use & lt; tt & gt;, & lt; I & gt;, & lt; br & gt; statements to control text layout than to use & lt; pre & gt. For example: & lt; tt & gt; Practical network & lt; br & gt; & lt; I & gt; Zeng weibin & lt; although I & g currently has many web page creation tools that allow you to easily complete your work, you can gain greater control if you use HTML. Below are some tips.
1. Use , ,
Statement to control text typographical usage
Much better. For example:Practical network
Zeng weibin

2. Do not use a 800*600 resolution to create a webpage. When a visitor uses 640*480 to view a webpage, the speed may be slowed down, and the webpage images and text may be misplaced. Of course, you can also use frame, horizontal control, table and other identification statements to replace the set pixels, but this increases the workload.
3. Use

Only one row.


A blank line is added.
4. Use hexadecimal numbers to define the color of a Web page, instead of using red, black, and other statements to make full use of the 216 colors of the Web palette (the other 40, it is difficult for ordinary people to tell ).
5. InAddingIn this way, Your webpage will not be reduced when the frame is linked to another place, or you can use
Open a new window.
6. Use

In order to allow many browsers to see the effect of table center, if you use Netscape 4. 0 can also be replaced by align = center.
7. The four special characters (<, >,&, ") in HMTL cannot be directly written in a file and must be replaced by the following statement, <= <>=>& = & "=" (lowercase letters are required)
8. Font effects in some semantic formats, Italics of the titleTo display the wide characters of the source program., Highlighted in italics, Requires a wide Font Input by the keyboard, Which indicates the wide font in the status., Highlighted in bold, To construct the italics of the Variable

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.