Home> Web design tutorial
All Dreamweaver tutorial Javascript tutorial HTML tutorial CSS tutorial Experience and skills DHTML tutorial Web effects WEB standardization
Web design tutorial
  • What to use to save you, my table (Haiyu Blog)

    What to use to save you, my table (Haiyu Blog)

    Table once occupied a light position in web development - layout, and even when it comes to Web 2.0, we can still see its layout. However, the Div+Css combination method, which is constantly improving, finally knocked on the door to old-fashioned layout a
    2025-05-09
  • Detailed explanation of the use of single-choice and multiple-choice in HTML

    Detailed explanation of the use of single-choice and multiple-choice in HTML

    The select element creates a single-select or multi-select menu. When submitting a form, the browser submits the selected item, or collects multiple commas separated options, synthesizes them into a separate parameter list, and<select> The form data is su
    2025-05-09
  • Javascript accessor attribute instance analysis

    Javascript accessor attribute instance analysis

    This article analyzes the usage of Javascript accessor attributes for your reference. The specific analysis is as follows: This is a bit similar to the constructor, but its functions are different. It can make two attributes related and change another att
    2025-05-09
  • Use js to draw pie chart

    Use js to draw pie chart

    Using js to draw pie charts is to divide a circle into multiple sectors. Example: http://www.zhaojz.com.cn/demo/draw8.html Copy the code as follows:/pie chart//dot dot//r radius//data data (one-dimensional array) function dr
    2025-05-09
  • JS scripts implement data deduplication

    JS scripts implement data deduplication

    The project requirements are shown in the figure: Code: Copy the code as follows:<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml"><head><script src="jquery.js"></script> <s
    2025-05-09
  • My Node.js learning path (IV)-Unit Testing

    My Node.js learning path (IV)-Unit Testing

    Install through NPM: npm install nodeunit -g supports command line, run by the browser. Various assertions. Modularly export exports for method exports under node.js. If you export module.exports for object, the module is the basis of unit testing. See th
    2025-05-09
  • Js Regular Expression Knowledge Summary

    Js Regular Expression Knowledge Summary

    Regular expressions: 1. What is RegExpRegExp is the abbreviation of regular expressions. The RegExp object is used to specify the content retrieved in text. 2. Define RegExp: var + variable name = new RegExp(); 3. There are 3 methods for the RegExp object
    2025-05-09
  • Javascript Object Object Learning Notes

    Javascript Object Object Learning Notes

    Constructor new Object() new Object(value) parameter optional parameter, declaring the original value (i.e., number, boolean value or string) to be converted into Number object, Boolean object, or String object. JavaScript versions before 1.1 and EC
    2025-05-09
  • JS implements the method of triggering events when the browser window size is changed

    JS implements the method of triggering events when the browser window size is changed

    This article describes the method of triggering events when the size of the browser window is changed. Share it for your reference. The specific analysis is as follows: The event window.onresize triggered when the browser's window size is changed spec
    2025-05-09
  • Javascript basic tutorials: array array

    Javascript basic tutorials: array array

    Strings, numeric values, and boolean values ​​all belong to discrete values ​​(scalars). If a variable is discrete, then it has only one value at any time. If you want to use variables to store a set of values, you need to use an array. An array is a coll
    2025-05-09
  • Introduction to the Decorator Mode of JavaScript Design Pattern

    Introduction to the Decorator Mode of JavaScript Design Pattern

    Decorator pattern description: Dynamically modify the functional objects of another class before or after, and add some additional functions to it; this is a decoration of the functions of a class object. The decorative class and the decorated class requi
    2025-05-09
  • AngularJS HTML compiler introduction

    AngularJS HTML compiler introduction

    Overview AngularJS's HTML compiler allows browsers to recognize new HTML syntax. It allows you to associate behaviors to HTML elements or attributes, and even allows you to create new elements with custom behaviors. AngularJS calls this behavior exten
    2025-05-09
  • Introduction to the difference between two equal signs and three equal signs in javascript

    Introduction to the difference between two equal signs and three equal signs in javascript

    In a nutshell: ==Convert the type first and then compare it, ===Judge the type first, if it is not the same type, it is directly false. === means that the two sides of the comparison must be absolutely the same alert(0 == ""); // truealert(0 ==
    2025-05-09
  • Get the actual length code of Chinese string

    Get the actual length code of Chinese string

    The default Chinese character length in JS is the same as other character length calculation method, but in some cases we need to get the actual length of the Chinese string, the code is as follows: The code is copied as follows: function strLength(str) {
    2025-05-09
  • Instructions for using fs.appendFileSync method in node.js

    Instructions for using fs.appendFileSync method in node.js

    Method description: The function of this method is similar to fs.appendFile(). The only difference is that the method uses synchronous operation, while fs.appendFile uses asynchronous. Syntax: Copy the code as follows: fs.appendFileSync(filename, data, [o
    2025-05-09