First, the basic order
1. Style is included in head.
2. Style has a beginning and end.
<style text= "Text/css" > </style>
Second, CSS notation
1. The style effect should be written in {} to realize the CSS function.
2, in the text with "Li" reference, then use "Li" to achieve the control of the text.
3, the reference style, #p need "class" reference, ". P" needs "id" reference. You can also directly write HTML text tags to achieve.
<style text= "Text/css" > Li{color:black; font-size:20px; Background-color: #F00; list-style-type:none; font-family: Microsoft ya black p{color:blue; Background-image:url (.. /%e8%a1%a8%e6%a0%bc/imges.jpg);} span{background: #0F0;} </style> Silicon Valley trends </ Span>: How to change everything with Uber and Airbnb </li> <p >360 security defender Baidu Wallpaper lu Master Thunderbolt storm av </p> <p > Computer Recycle Bin Activation Tool Youdao Dictionary broadband connection security browser </p> <p> Chinese network video Youku Iqiyi art Autohome </p> </div>
CSS Syntax order