Chapter III1, the value of inheritance is not special, even 0 of the particularity of not. So changing the style of a hyperlink generally requires an independent declaration and cannot be changed by inheritance.2. Cascading-conflicting declarations are sorted by this cascading process and thus determine the final document representation. The core of this process is the particularity of selectors and their related declarations and the inheritance mechanism.Fifth Chapter1, Font-weight:border. Firs
12th chapter list and generated content1, List-style-type:cjk-ideographic generate 1234 of the serial number2, whether it is UL or Ol,list-style-type unrecognized values are applied to decimal.3, the list-style-image will inherit.4, Shorthand: List-style:type | Image | PositionThe 13th Chapter user interface style;1. Outlines are similar to borders, but outlines do not participate in the document Flow .2. Outlines and borders can coexist .3, the contour of the four sides of the style (including
Margin-bottom, to clear the element set Margin-top is not convenient (the reason for clearing the area).7. For a non-root element, if the position value is absolute, the containing block is the nearest position value is not a static ancestor element .8. Top/right/bottom/left applies to elements where the position value is not static. The margin boundary of the element contains the offset of the inner margin boundary (border) of the block relative to it.9. Top:auto;left:auto in Position:absolute
element node, 3 represents the text node, 8 represents the comment node, and 11 represents the DocumentFragment node .14. The children property of the element object, similar to ChildNodes, is also a NodeList object, but the children list contains only the element object .15. The text and comment nodes do not have a children property, meaning that the Node.parentnode property cannot return a text or comment node .16. The Style property value of any HTML element is a cssstyledeclaration object,
the form is submitted .7. The onchange event handler for the text input field is triggered when the user enters new text or edits an existing text, indicating that the user has finished editing and moved the focus out of the text field .8. If the user directs to a new fragment in the document, thelocation.href will change , but document. The URL does not.9, document.write () joins its string argument, and then inserts the result string into the document where the script element is called.10. Th
server contains 3 parts: 1, a number and a text-based status code to show the success and failure of the request. 2. A collection of response headers. 3, the response body. 6.get is used for regular requests , and he applies when the URL completely specifies the request resource when the request does not have any side effects on the server and when the server's response is cacheable. The post method is commonly used in HTML forms , which contain additional data in the request body and are often
less than the number of parameters specified when the function is declared, and the remaining parameters are set to the undefined value .15. You can use the annotation/*optional*/in the function definition to emphasize that the formal parameter is optional .16, identifier arguments is a reference to an argument object, an argument object is a class array object , not a real array, it is an object that happens to have a numeric indexed property.17. The argument object also defines the callee and
First chapter CSS and documentation1. Structured HTML: (Personal understanding)1. Separation of content, style and behavior2, label semantics, what kind of label do what kind of thing3. Conform to Web standards4, the structure is clear, header, content, footer. Reduce duplicate code for the public part.2. Unstructured pages make it difficult to build content indexes, reduce accessibility, and discourage maintenance.3, the candidate style sheet, the rel attribute is alternate stylesheet, if suppo
Chapter III Structure and CASCADE1. When determining which values should be applied to an element, the user agent not only takes into account the inheritance, but also considers the specificity of the declaration, and also the origin of the declaration itself, which is called Cascading. 、2, Particularity. If an element has two or more conflicting attribute declarations, the Highest-specificity declaration wins.
For the value of the attribute of each ID given in the selector, add 0,1,0,0;
${file#*.} : Take out the first one. And the string to the left: file.txt${file##*.} : Take out the last one. And the string to the left: txt${file%/*}: Take off the last bar/its right string:/dir1/dir2/dir3${file%%/*}: Remove the first/its right string: (null value)${FILE%.*}: Take off the last one. And the string to the right:/dir1/dir2/dir3/my.file${FILE%%.*}: Take out the first one. And the string to the right:/dir1/dir2/dir3/myThis article is from the "Linux is belong to You" blog, make sur
Java study notes 5-class methods, java study notes 5 --
URL: http://www.cnblogs.com/archimedes/p/java-study-note5.html.1. Method Control Process
There are three main process control structures in
As a Java programmer, the most painful thing is to choose too wide, can read too many books, often easily confused. I would like to choose some of the technical books I have read, according to the Order of study, recommend to everyone, especially those who want to constantly improve their technical level of Java programmers. In addition, you can join 457036818 Ex
JAVA study notes, java Study Notes Lin Xinliang
Previously, I learned about sequential programming. A program can only perform one step at any time. As the first class of concurrent programming, I am very excited.
1. Define a task
Implement the Runnable interface and compile the run () method (the thread will execute t
Java study notes 44 (multithreading 1) and java Study Notes
Concept of multithreading: omitted
Multi-threaded objective: to improve efficiency
Main thread:
Package demo; // main thread public class Demo {public static void main (String [] args) {function (); System. out. println (1);} public static void function () {f
JAVA Study Notes (3) and java Study Notes
@ SuppressWarnings ("resource") is used to suppress resource leakage warnings. For example, if I/O class is used, it is not closed.Set features:1) unordered, not random2) unique element3) No subscriptNote: Collection List Set is an interfaceNote: Because the Set does not have a
JAVA Study Notes (20)-collection List, java Study NotesArrayList set
/** ArrayList, which implements the List interface *. When declaring an array, you must specify the element type in the array, which can be the basic data type, it can also be a reference data type * When declaring a set, you can not specify the type
Java study notes 35 (exception) and java study notes 35
An exception occurs when the code is running.
Java encapsulates multiple exceptions into multiple classes. When a program encounters a problem, it creates an exception class object and throws related information.
Excep
Java Study Notes 10, java Study Notes
When a program creates objects, arrays, and other reference objects, the system allocates a memory area for them in the heap memory, and the objects are stored in the memory area,
When the object we create is no longer referenced, the memory will become garbage, and finally wait f
Java Study Notes (2), java Study NotesI. Common java Data Types
Data Type
Bytes occupied
Note:
Int
4
Char
2
Double
8
Float
4
Float a = 2f; (f or F must be added; otherwise, the default value is dou
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.