Where the CMS does not conform to the Web standards (unfinished)

Source: Internet
Author: User
Web|web Standard

The day before yesterday QQ a friend asked me, why "Web page standardization" but not standard? I answer: Because CMS is not standard. Of course, when I checked the homepage page, I also found the code that I wrote that did not conform to the Web standard. In the next few days, I will be sorting out the dynamic CMS non-standard some of the labels, so that everyone in use when possible to avoid use.

CSS style call Tag-{skin_css}

The code that appears in motion is:

Where is the mistake? First, it is best to use double quotes, again, the biggest problem is not closed. The correct wording should be:

Logo call tag-{$ShowLogo (Width,height)}

The Standard is written as follows:

Picture Display :

Just like the logo tag above alt= no double quotes behind it, the IMG is not closed. and logo tags of the same kind of {$ShowBanner} and other pictures call the label, the content of the picture inside the page is the display of such errors, the following is no longer one by one repeat.

Font Color

It is not standard to use the font in HTML, which is easily used in motion. You should use CSS to change the font color. such as and so on.

List Call

This is the worst point, look at the Xhtmlhelp home page.

·  full-featured Boutique Calculator < br/>  Make your scroll bar into color!" (IE5.5 the following edition ... 

This is a plain list, and there is a div output. Even worse. Each link is wrapped with a div. "Div+css" is really enough. Standard lists should be done using

  • , and then use CSS to control their location.

    There is no time to go on, wait for the evening to write. Occupy first.



  • 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.