CSS Basics of HTML (understanding what CSS is and how CSS works)

Source: Internet
Author: User

My knowledge of CSS is very shallow, according to the code to deepen the memory!

CSS styles are divided into three types:

1: element inline style sheet

2: Document inline style sheet

3: Using an external style sheet

I have drawn the following

Http://www.w3school.com.cn/tiy/t.asp?f=html_a take a look at yourself

Note that the "CSS Foundation. css" That is pointing externally is local.

<! DOCTYPE html><link rel= "stylesheet" type= "Text/css" href= "CSS basics. html > <!--This is a link that is imported from an external CSS, but this thing has a low priority and does not appear. -    <style type= "Text/css" > a{  font-size:80px;  color:  #59ed45; } </style>        <a style= "font-size:30px; color: #ff335f;" > I was controlled by an element-embedded style sheet, cascading style sheets =cascading style Sheets, I have the highest priority!! </a> <!--element inline style sheet --</body>

CSS Basics of HTML (understanding what CSS is and how CSS works)

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.