Ask CSS problems
Users questions: CSS + HTML and HTML than strengths? Why put a css code css file, what are the advantages CSSCSS application in HTML What are the three ways?
Experts answer:CSS is "cascadingStyleSheet" The Short, the Chinese translation of "Cascading Style Sheets," also translated as "Cascading Style Sheets" is used to (increase) the ability to control the page style and style information and content of the separation of a markup language. CSS language is a markup language, it does not compile, can be directly executed by the browser (of the visit Device interpreted language). In the web pages when you can effectively use CSS page layout, fonts, colors, backgrounds and other effects to achieve a more precise control. CSS is the W3C (W3C is WorldWideWebConsortium, global World Wide Web Consortium Short. W3C's main duty is to determine the future direction of development of the World Wide Web, and formulate relevant recommendations) of the CSS Working Group produced and maintained. CSS was first proposed in 1994, was the first browser to support in 1996. 1996, W3C launched the CSS1. W3C 1998, W3C launched the CSS2.CSS2.1 is now being recommended. CSS3 is still in development. In CSS2 CSS3 includes all of the support, based on more improvements. CSS supports a variety of devices such as mobile phones, televisions, printers, Slides. But the CSS in the browser to get better promotion. Compared with traditional Html CSS has the following advantages: a strong ability to control and layout: CSS font control the ability of a lot better than the mark, so now Mark has long been the W3C is not recommended as a marker. Mention High speed web browsing: the use of CSS design than traditional Web design saves 50% to 60% of the file size. Table tags are complete will be displayed fully loaded, and CSS page is loaded that displays is also better to improve the web browsing speed. Previously have to be through Image conversion to achieve the function, now as long as you can easily use CSS instead, enabling faster download page. Shorten the time to improve workload changes: the traditional Web pages is the need to modify the Font and the Table for each such labeling, and Web page design using CSS only Need a few simple changes to CSS files can be re-designed the entire site. More conducive to search engine: CSS to reduce the amount of code, making the text more prominent, more conducive to effective search engine search to your Web page. HTML reference, there are three methods: 1: in the head Tag to load a CSS file 2: write content directly to the CSS file in the HTML head tag 3: use the style attribute of the tag to load the style