CSS Basics 1

Source: Internet
Author: User

Inline style-inlinecss.html style code inline into markup using style as attribute, style statement as attribute value

For example: Control <table> mark border style is not collapsed

Inline style features look intuitive for individual element control and traditional appearance control methods no essential differences are not recommended

Embed style-internalcss.html inserting style code into a page using the <style> tag is generally inserted into the

such as:

<STYLE>CSS Statement </style>

Features the CSS statement is written directly in the HTML document, but it is independent, easy to maintain and modify only for an HTML document Set code is part of the HTML document, not using the browser's caching mechanism

The-externalcss.html style file controls the page through an external style file external style files connect to an HTML document via the HTML link element

Using-HTML.HTML/HTML.CSS to create an external style file (. css) outside of a style file cannot contain any HTML markup style sheet files like

Features when the style is applied to a lot of pages, it is recommended to use external style sheet for Web page creator to use external style sheet, when changing the appearance of the whole site, only need to change a file most browsers will save the external style sheet in the buffer, so if the style sheet in the buffer avoids the delay in the display page In the actual development of the general use of the outer style

CSS Basics 1

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.