Correct and image to the function, variable name, not only can increase the readability of the program, but also a programmer's programming style of a reflection. Better naming habits, can effectively improve the maintainability of the program. The following is a description of the standard naming method, interested in the small partners can take a look. 1. DIV+CSS specification named collection when we develop CSS+P Web page (Xhtml), the more confused and tangled thing is the CSS naming, especially the novice do not know where to name, how to name is a good way. Name Rule description: 1), all the names preferably lowercase 2), the value of the property must be enclosed in double quotation marks (""), and must have values such as class= "PCSS5", id= "PCSS5" 2. JS naming specification: The Hungarian nomenclature or the name of the camel name code is very necessary, can enhance the readability of the code, a glance can understand the meaning of the expression, norms are in line with the rules, so that the code is conducive to the maintenance of later, but also to a large extent to improve the development efficiency. A normal website has a lot of JS1
1. A detailed description of the canonical nomenclature
Introduction: Correct and image to the function, variable name, not only can increase the readability of the program, but also a programmer's programming style of a reflection. Better naming habits, can effectively improve the maintainability of the program. The following is a description of the standard naming method, interested in the small partners can take a look. 1. div+css canonical Naming collection when we develop CSS+P Web page (Xhtml), the more confused and tangled thing is the CSS naming, especially the novice do not know where to name, how to name is a good way. Name Rule description: 1), all the names most ...
2. Teach you how to write a standard CSS style
Introduction: wrote so long CSS, but most of the front-end er are not in accordance with good CSS writing code to write CSS, this will affect the code reading experience, here summarizes a CSS writing specification, CSS Writing order for everyone to reference
3. DIV+CSS specification named Collection
Introduction: When we develop CSS+P Web page (Xhtml), the more confused and tangled thing is the CSS naming, especially the novice do not know where to name, how to name is a good way. Naming rules Description: 1), all the names preferably lowercase 2), the value of the attribute must be enclosed in double quotation marks (""), and must have values such as class= "PCSS5", id= "PCSS5" 3), each label must have the beginning and end, and to have the correct level, typesetting rules neat 4), empty Yuan To have the end of the tag or after the beginning of the tag plus &qu
4. CSS naming conventions and websites commonly used in Chinese and English
Introduction: CSS Naming conventions and website commonly used in Chinese and English comparison table
5. CSS naming and normalization of its writing
Introduction: CSS Naming and writing specifications
6. A novice must-see CSS naming conventions
Introduction: The following small series for everyone to bring a brief introduction to CSS naming rules (Novice must see). Small series feel very good, now share to everyone, also for everyone to make a reference. Let's take a look at it with a little knitting.
7. CSS naming rules website design and basic framework structure
Introduction: CSS naming rules website design and basic framework structure
8. CSS Naming conventions
Introduction: CSS Naming conventions
9. "Html+css" CSS naming conventions, Html tags semantics _html/css_web-itnose
Introduction: "Html+css" CSS naming conventions, Html tags semantics
Div+css the DIV+CSS naming rules in the course of page drawing _html/css_web-itnose
Introduction: Div+css DIV+CSS naming rules during the page cut
"Related question and answer recommendation":
JavaScript-Single page, SPA, angular, router, how to solve the problem of CSS naming conflicts?