CSS abbreviation1, the valueFor example, to define the width of the element, just enter w100, you can generate CSS code width:100px;In addition to PX, other units can be generated, such as input h10p+m5e, the result is the following CSS code:height: 10%; margin: 5em; List of unit aliases:p =%E means EMX means ex2. Additional PropertiesMaybe you've already learned some abbreviations, like @f, that you can generate CSS code:@font-face { font-famil
Object | specification | data | Database naming Conventions Database nomenclature
A Names of entities and attributes
1. Commonly used words have been abbreviated, and in the naming process, the abbreviations can be pieced together according to semantics. Note that because the Orcal database unifies the field names into either uppercase or lowercase, the underscore is required
Example:
Defined abbreviations
HTML Reference ManualArrange By functional category NEW: HTML5 tag in the.
label
Description
Defines a comment.
Defines the document type.
Defines the anchor.
Define abbreviations.
Defines abbreviations that take only the first letter.
Defines the contact information for
18 Practical CSS skills
This article summarizes all the skills and compatibility solutions since I started using the CSS layout method. I would like to share these with you, I will focus on some mistakes that beginners may make (including those I have made myself). If you are already a CSS guru, you may already know these skills. If you have more skills, I hope I can help.
Translation: Ajie
Original Author: Roger Johansson
Author's profile: He lives in godeburg, Sweden and began to engage in w
this API can understand the code using the API, this API is intuitive.
Note: To make the API easy to remember, use consistent and accurate naming rules. Use easy-to-recognize patterns and concepts to avoid abbreviations.
Generate readable code: The code is only written once, but it needs to be read many times (debugging or modification). The readable code may sometimes need to be typed more, but it can save a lot of time in the product life cycle.
with the needs of the current short development cycle. The simplified OC code is one step closer to a fast development language such as Perl or Python. As for the actual usage, it is still different from wisdom... At least I personally don't like some abbreviations very much, probably because I haven't got an intuition when I see the abbreviated code. I have to wait a while to know what this is...Nsnumber
All [nsnumber numberwith... :] Methods can be
other similar rules. Programmers need to read more excellent programs and accumulate experience to make good function naming.
. Function Annotation
Functions automatically generated by the system, such as mouse action response functions, do not need to be commented out or explained too much;
For a self-compiled function, if it is a key function of the system, the information of the function must be indicated at the top of the function implementation section. The format is as follows:
/**
Document directory
1. Use abbreviations
2. Avoid using hack
3. Use white space
4. Remove unnecessary structures (frameworks) and reset (resets)
5. Ensure that CSS can be maintained in the future.
6. Record your work
Summary
As a web designer (front-end engineer), you may still remember the suggested webpage size: One webpage (including HTML, CSS, javacript, Flash, and graph ).Chip) Try not to exceed the size of 30 kb, with the increasing si
I. Use CSS abbreviations
Using abbreviations can help reduce the size of your CSS file and make it easier to read. For the main rules of CSS abbreviations, refer to "common CSS abbreviations syntax summary", which is not described here.
Ii. Define the unit unless the value is 0
Unit that forgets to define the size is a
attributesIf ul> li. item $ * 3 is entered, the following code is generated:Html code
// Of course you can change it to ul> li # item $ * 3. The result is as follows:
Ii. CSS abbreviations1. ValueFor example, to define the width of an element, you only need to enter w100 to generateCss code
Width: 100px;
In addition to px, you can also generate other units, such as input h10p + m5e. The result is as follows:Css code
Height: 10%;
Margin: 5em;
Organization Alias List:
P in
I. Use CSS abbreviations
Using abbreviations can help reduce the size of your CSS file and make it easier to read. For the main rules of CSS abbreviations, see common CSS abbreviations syntax summary, which is not described here.Ii. Define the unit unless the value is 0
Unit that forgets to define the size is a c
will give a general goal of learning computer English in the following table:
Learning objectives of Computer English
Mid-and mid-level general IT industry staffFamiliar with basic terms of Computer English; familiar with common syntaxes and usage in Computer English; able to read the English interface and online help and simple operation manual with the help of dictionaries, and read regular reads of 70-90 words/minute. Familiar with frequently used terms and
be commented to explain their meanings and so on.Four naming conventions1: The names of variables, classes, interfaces and packages should be in English or Chinese initials. It is also not possible to use Chinese characters for naming. Use mixed case to improve the readability of the name. Generally lowercase letters should be used, but the first letter of the name of the class and interface, and the first letter of any intermediate word should be capitalized. The package name is all lowercase.
read and easier to understand. They can also provide some information on identifying features, which helps to better understand the code and the application.1) Rule one: use full English descriptors that can accurately describe variables, functions, prototypes (prototype). It is forbidden to use Hanyu Pinyin, unrelated words and Chinese characters for naming, examples: firstname,listallusers or corporatecustomer, etc.;2) rule two: minimize the use of abbrev
describes several common structure modes and usage methods.
CSS Structure Design Based on Style Features
CSS Structure Design Based on Functions
CSS import and Combination Based on page requirements
6.5 use CSS abbreviations
CSS abbreviation refers to the compilation of multiple CSS attributes in one row. This method can reduce a lot of code and make the code easy to read and understand.
6.5.1 font abbreviat
elements, you can use the * symbol. For example, ULGT;LI*3 can generate the following code: HTML code
7. Define multiple elements with attributes If you enter ul>li.item$*3, the following code will be generated: HTML code
Second, the CSS abbreviation 1. Value For example, to define the width of an element, simply enter w100 to generate CSS Code
width:100px;
In addition to PX, other units can be gen
points. Wait a minute.The appropriate calling method of the function is specified in the comment, and the method of handling the return value is described in detail. In the comments, emphasize the danger aspect of the call, where there may be an error.2.5 Considerations for commenting(1) The proposed side write code side comments, modify the code at the same time to modify the corresponding comments to ensure that the comments and code consistency. Comments that are no longer useful are to be d
they are commonly used abbreviations of slang nature3.1.4 is case-sensitiveDo not assume that all programming languages are case-sensitive, that this is not the case, and that names should not be distinguished only by capitalization.3.2 General Naming conventionsThis chapter describes some common naming conventions, involving the choice of words, abbreviations, the use of acronyms, and how to avoid using n
the "vowel", and the long Word may be abbreviated by the first few letters of the word; some words are generally recognized abbreviations. For example: temp->tmp, flag->flg, statistic->stat, increment->inc, message->msg and other abbreviations can be basically recognized by EVERYONE.(2) If a special convention or abbreviation is used in a name, a note shall be Provided. The
addition, the name of the complex namespace must be used when the complex number is required. For example, use System. Collections instead of System. Collection. However, when you encounter abbreviations, you do not need to use the plural. For example, use System. IO instead of System. IOs.
The same name cannot be used for namespaces and classes. For example, after a class is named Student, Student is no longer used as a namespace.2. Class
Class nami
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.