Summarize:
• The basic packing type is actually summed up, number and string type!!! Here are the properties and methods that I think are very common.
properties and methods for 1.NumberProperty://static properties do not
A function is an object that has its own properties and methods. First, the output of the console under the function attribute method to visually look at:
The function's internal properties include only two special objects: arguments and
One of the biggest reasons I'm excited about HTML5 is that the new features and features that we've been working on are all we've been waiting for for so long. For example, I've been using placeholders before, but I've had to use JavaScript before.
In JavaScript, the This keyword is used to refer to the object that called the function. Look at a few chestnuts:varName= "Window";varobj={name:"Object", Funobj:function() {Console.log ( This. Name); } };//varfunobjcopy=obj.funobj;functionA ()
JavaScript language Core (2~12 chapter)Chapter III: Types, values, variables1. Numbers:
Overflow (Infinity,-infinity), underflow (+0,-0)
Non-numeric value: It is not equal to any value, including itself. if (x! =X) return nan;== "IsNaN (
Summary:Recently in the development of the project, the asynchronous interface needs to render the front-end data, JS splicing is too low, it is necessary to use the template plugin. Prior to the use of jquery-based and juicer plug-ins, considering
in JavaScript, which supports object-oriented programming, it speaks of object-oriented ( Object oriented abbreviated to OO generally it is easy to think of inheritance and polymorphism, and in JavaScript, inheritance is mainly achieved by the
HTML 5 canvas and html canvas
The canvas Element uses JavaScript to draw images on a web page, which is not capable of drawing itself.
Canvas is a rectangular area that controls each pixel.
Canvas has multiple ways to draw paths, rectangles, circles,
Common CSS layout: Adaptive on the left, fixed on the right, css adaptiveFirst, use margin-right on the left and float: right on the right.
CSS code:
Html, body, ul, li # wrapper {width: 100%; height: 100%; padding: 0; margin: 0 ;}. left ,. right
CSS learnning..., csslearnning ..
/* Initial state: border-radius is 0. * When border-radius changes, it'll take 0.3 s * instead of happening immediately */button {border-radius: 0; transition: border-radius 0.3 s; /* any other styles you need... */
Php adopts the redis-based session processing method, phpredissession
A redis-based session processing method is as follows.
redis = new Redis (); return $ this-> redis-> connect ("127.0.0.1 ", 6379);} // call this method when the session ends.
Code summary for CSS3 (Part) and Code summary for css3
1. Create a style sheet: selector {
Property: value;
Property: value;
}
Selector is the element that needs to change the style. property is the name of the css attribute and the format in which
Font-size: 100% what is the role of font-size100 %
H1, h2, h3, h4, h5, h6 {font-size: 100%; font-weight: normal ;}
Input, select, textarea, samp {font-size: 100% ;}
I can see some css resetting. What is the purpose and function of setting font-size:
Css Study Notes 2-inline-block, inline-block
1. inline-block is the new box type in CSS2.1. In div, set the display attribute to "inline-block ", the div display effect is the same as setting the display attribute to "inline.
Inline-block has column
HTML 5 audio (audio), html audio
The audio element supports three audio formats.
IE 9
Firefox 3.5
Opera 10.5
Google Chrome 3.0
Safari 3.0
Ogg Vorbis
√
√
√
MP3
√
√
√
Sublime Text plug-in for Web developers, sublimetextPackage Control
On Sublime Text, you use Package Control to manage and install the plug-in. Therefore, it is the first plug-in to be installed. For the installation method, see here. The usage of
Ie6 rounded corner processing and ie6 rounded corner
Border-radius browser compatibility:
IE9 +, Firefox 4 +, Chrome, Safari 5 +, and Opera support the border-radius attribute.We all know that border-radius can be used to add rounded corners to
Div layout, div Layout
When css specifies the width of the left and right columns, you only need to move the left div to the left {float: left;}, and the right div to the Right to float {float: right;}, and clear the floating.CommonThere are two
The basic idea of writing crawlers in Node. js and sharing examples of capturing Baidu images. The basic idea of node. js
In fact, the idea of writing crawlers is very simple:
Send HTTP requests according to certain rules to obtain the HTML
[Convert] html hyperlink window size, hyperlink window size
aaaaaaaaaaaaaaa
============================== Various parameters ============
Here, yes/no can also use 1/0; pixel value is a specific value, in pixels.
Parameters
Value
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service