Your web site might have thousands of pages that look similar. Using CSS, you store the style information in common files that all the pages share. When a user prints a web page, you might provide different style information that makes the printed page easy to read.
There are exceptions to this rule, of course, and HTML also provides some ways to specify style. Save the file and load it in a browser. Now you have a sample document linked to a separate style sheet, you are ready to learn more about how your browser combines them when it displays the document. So less code means faster download times. By using the same HTML document, different versions of a website can be presented for handheld devices such as PDAs and cell phones or for printing.
When a specification has been discussed and officially ratified by the W3C members, it becomes a recommendation. These ratified specifications are called recommendations because the W3C has no control over the actual implementation of the language. Independent companies and organizations create that software. Elements containing text such as navigation, links or calls to action will all be purple, Arial and fifteen points high.
Start your free trial High-volume or established business? Request a demo. Glossary What is CSS, and why is it important?
CSS allowed several innovations to webpage layout, such as the ability to: Specify fonts other than the default for the browser Specify color and size of text and links Apply colors to backgrounds Contain webpage elements in boxes and float those boxes to specific positions on the page They put the "style" in style sheets, and for the first time, Web pages could be designed.
How does CSS work? BigCommerce helps growing businesses, enterprise brands, and everything in-between sell more online.
0コメント