1. Understanding the meaning of web standards-Why adopt web standards ***** Separate content from style 1. Web standards are a series of standards, that is, a series of technical standards that are used in combination [1], structured content xhtml 2. A small tool for web development - Firebug in Firefox 3. CSS definition skills: For example, the h1 tag has its own attribute value, which automatically displays in bold and with a larger font size. Divided into Chinese and English fonts. Set the order of the fonts, with English fonts in front and Chinese fonts in the back. 4. The way CSS is applied to web pages is equivalent to how people put on clothes. *****Note: The import style is actually similar to the embedded style, both of which add styles to the web page. 2. Characteristics of CSS CSS is called Cascading Style Sheets. 1. Inheritance: Child elements will inherit certain styles of parent elements. 2. Overlay: If a child element defines the same style as the parent element, the style of the parent element will be overwritten. 3. CSS style priority: Who should you listen to when styles conflict? CSS priority: The smaller the scope of the proximity principle, the higher the priority. Grandpa -- Red Daddy -- Green Child -- Blue Selection priority Inline > id > class > tag selector In special cases, we can increase the permissions of a certain attribute 4. Some commonly used text, CSS styles for text control *****When we apply CSS styles, we must pay attention to its default values. Because different browsers have different CSS default values (different browsers support different attributes, and we also need to ensure the compatibility of our web pages, try to use the attributes that are passed, and don't use attributes that have compatibility differences.) 5. CSS controls a certain state of elements-pseudo-class Pseudo-class syntax: The above Html/Css (the first must-read guide for beginners) is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM. Original URL: http://www.cnblogs.com/xie-zhan/archive/2016/07/01/5631868.html |
>>: Several ways to set the expiration time of localStorage
MyISAM and InnoDB are the most common storage eng...
Table of contents question: 1. Enable remote logi...
Events can specify the execution of SQL code once...
1. Table structure TABLE person id name 1 you 2 Y...
There are two ways to create a primary key: creat...
For those who are new to virtual machines or have...
Core code /*-------------------------------- Find...
Table of contents The relationship between the co...
<br />This is from the content of Web front-...
1. Prepare the Java environment, jdk1.8 Check whe...
While working on a Linux server, assigning static...
What is serdel userdel is a low-level tool for de...
download Download address: https://redis.io/downl...
Recently, the project switched the environment an...
Table of contents Union query 1. Query the ID and...