1. HTML 4.01 elements below obsolete tags have been deleted in HTML5. Although browsers still support these tags for compatibility reasons, it is recommended to use new alternative tags. The paradox is that old browsers do not support the new tags. It’s n
The page is rather ugly and only functions are implemented. ^ ^ Copy the code code as follows:<title> Imitate the effect of easyui dialog</title><script> //取得页面元素 var getElement = function() { return doc
1. About the drag and drop API. The drag and drop API is a new feature of HTML5. Compared with other new features, it accounts for 60% of the importance and 30% of the usage in actual development. I think the learning requirements are enough to master. de
There are three types of five methods for converting data into numbers in JS, including: Forced conversion, the basic data types of JS are converted into the corresponding types (Number(v)) Native functions, these two functions have different results ( pa
This article introduces the checkbox special effects code for sharing an H5 native form, and shares it with everyone. The details are as follows: The effect is as follows:<!DOCTYPE html><html><head><meta charset=UTF-8><title></title> <s
In ES3, delete is introduced in 8.6.2.5 and 11.4.1. Here is some information. 1. In implementation, the delete operator will call the [[Delete]] method inside the engine. 2. [[Delete]] is in 8.6.2. Definition 3. The deleted attribute has the DontDelete at
All the lines drawn by the line drawing instructions of Html5 Canvas have burrs (such as lineTo, arcTo, strokeRect). This is because the position corresponding to the integer coordinate value in Canvas happens to be the gap between the screen pixels, so w
Event is an object that comes with IE, but this object does not exist in FF. Events can only be simulated by passing parameters. In addition, srcElement is used in IE to obtain the event trigger source, and target is used in FF. Therefore, relevant browse