Some web pages do not look big, but they are very slow to open. Some web pages are very long but smooth to use, occupying the memory and CPU of your computer will affect the appearance of these web pages, some web pages, although long but smooth,
Many of my friends did not know the role of the DOCTYPE statement. They searched and sorted out this article for help.
I. browser rendering mode and doctype
Some web pages are created based on standards, but many are not. Even if you cannot create
Sort and paste discovered items
The Code is as follows:
Try it here!Here is the prompt message!Here is the prompt message!Try it here!Here is the prompt message!Here is the prompt message!
1.菜单要包裹中,因为ie6只支持a:hover效果
I recommended zencoding some time ago and used notepad ++ for this. I feel that it is okay when I am working on a webpage. In addition, my colleagues also use dreamweaver, which is also very nice. For example, he input:
XML/HTML code
P # page> (p #
Special HTML line splitting effect, which is very practical and beautiful line separation. For more information, see. I. Basic lines
Ii. Special Effects (effects are not isolated and can be combined)1. Transparent gradient at both ends:
2.
I have talked about the problem of doctype before. The ignored DOCTYPE is the most concise and clear standard mode. However, I recently found that using this method may cause problems. For details, refer to the Code:
The Code is as follows:
Do not use either of the two methods at the same time. If both methods are used, the request will be submitted twice. Iframe refresh Method
1. The refresh method can use the document. fr. location. reload () of javascript ()
2. modify document.
They can also be classified as top-level elements, block-level elements, and inline elements respectively. 1. block-level element: it can exist independently. Generally, Block-level elements are separated by line breaks (such as a line after a
These are some of the Code commonly used in web design, IEonly. If you need to consider compatibility, you can refer to the articles published before the home.
◆ Add to favorites
Description
Click to add your website to
Every programmer has his/her own Writing Style in writing code. We do not need to create document pages in the same way. Sometimes it is decided to use a Tag Element, while other programmers may choose other solutions. In this article, I listed five
The first possibility is that you have not understood the principle of CSS processing pages. Before you consider the overall performance of your page, you should first consider the semantics and structure of the content, and then add CSS for the
In HTML, the ins and del elements can be either block-level or inline elements, but not both.
InsAnd
DelIt was introduced at HTML4.0 to help creators cooperate with each other during document development and maintain some edits (for example, it can
ID is like a person's ID card number, and Name is like his Name. ID is obviously unique, and Name can be repeated. Today, I am a little confused. When I add #, it indicates a pipeline. When I keep up with 13 in the background, it will jump to the
It is easy to ignore the alt attribute of the image img label. However, its importance cannot be reflected, and it is conducive to the accessibilityandvalidationreasons of webpages. We didn't pay attention to it before. Now we should add these alt
Next we will introduce more than 40 beautiful web form examples, modern solutions, and creative thinking related to web form design. some of them are flash; however, in most cases, you can easily use simple css and (x) html to create the same design.
Readonly and Disabled are two attributes used in a form. They both enable users not to change the content in the form field. However, there are slight differences between them. I have summarized some rules in practice as follows:
Readonly is only
Setting up a Web page that complies with Web standards has always been a topic discussed with webjx.com. Do you remember to close all XHTML elements? Some elements in HTML do not need to be closed. When the next element starts, the previous element
Extended hypertext markup language (XHTML1.0) version 2nd defines that XHTML can convert HTML4.0 to XML1.0 format. In more and more websites, the use of XHTML is quickly replacing HTML4. However, some mainstream browsers do not yet provide good
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