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
  • Deep understanding of JavaScript Strict Mode

    Deep understanding of JavaScript Strict Mode

    The strict pattern introduced in ECMAScript5 allows developers to have a "better" JavaScript language by allowing the JavaScript running environment to deal with some of the most common and difficult to detect errors in the development process.
    2025-05-02
  • A picture can hide your program code with thousands of words

    A picture can hide your program code with thousands of words

    Comment: An HTML5 video game, the development process is very interesting, I like programming, but after implementing the game logic, I have an interesting idea: Why don’t you think of a way to hide the code? I recently developed my first web game: an HTM
    2025-05-02
  • Basic knowledge of web pages of htnl basic knowledge

    Basic knowledge of web pages of htnl basic knowledge

    HTML is the abbreviation of Hypertext Markup Language. It is a language that describes the structure of a document, but cannot describe actual expressions. The HTML language uses descriptive tags (called tag codes) to indicate different contents of a docu
    2025-05-02
  • Implementation code for judging page close and page refresh in JavaScript

    Implementation code for judging page close and page refresh in JavaScript

    Today, since the project needs to determine whether the user's behavior is closed or refreshed when leaving the page, although there is no direct method, it can also be achieved through certain skills. I have to sigh at the power of JavaScript! ! Plea
    2025-05-02
  • JS gets the current web page size and screen resolution, etc.

    JS gets the current web page size and screen resolution, etc.

    The effect is as follows: the code is as follows:<html><head><title> Get the current object size and screen resolution, etc.</title><body>
    2025-05-02
  • angularjs summarizes methods for handling multiple asynchronous requests

    angularjs summarizes methods for handling multiple asynchronous requests

    In actual business, you often need to wait for several requests to complete before proceeding with the next step. But $http in angularjs does not support synchronous requests. Solution 1: Copy the code as follows: $http.get('url1').success(functio
    2025-05-02
  • Instructions for using path.delimiter method in node.js

    Instructions for using path.delimiter method in node.js

    Method Description: The method returns the real path of the platform, separated by multiples with ":" or ";". Syntax: Copy the code as follows: path.delimiter Since this method belongs to the path module, you need to introduce the path
    2025-05-02
  • Nodejs minimalist tutorial (three): process

    Nodejs minimalist tutorial (three): process

    Node has multiple threads, but JavaScript running on v8 is single threaded. Node's child_process module is used to create child processes, and we can make full use of the CPU through child processes. Example: Copy the code as follows: var fork = req
    2025-05-02
  • Is the tag li block-level element analysis?

    Is the tag li block-level element analysis?

    Why it can set heights, but it doesn't look like<h1 /> These elements feel like it is a semi-inline (inline: inline[text]-level) element. HTML 4 describes it like this: The following elements may also be cons
    2025-05-02
  • Instructions for using emitter.emit method in node.js

    Instructions for using emitter.emit method in node.js

    Method description: Emit event and pass several optional parameters to the parameter table of the event listener. Syntax: The code copy is as follows: emitter.emit(event, [arg1], [arg2], [...]) Receive parameters: event event type arg1 ~ argN Parameters p
    2025-05-02
  • A great node.js reading notes analysis

    A great node.js reading notes analysis

    This week's nodejs learning content is about using several dependency packages, and I have knocked out all the examples in the book. This article uses routines as clues to review the work for a week. 1. Connect This routine mainly uses the connect dep
    2025-05-02
  • A brief discussion on the method of rewriting window objects

    A brief discussion on the method of rewriting window objects

    The method of rewriting window objects is not a novelty. For example, we may need to change the behavior of the default alert. How to rewrite it safely? Xiaocai saw that a well-known IT website was written like this: copy the code code as follows: window.
    2025-05-02
  • html base tag target=_parent usage introduction

    html base tag target=_parent usage introduction

    <base>The tag specifies a default address or default destination for all links on the page. Normally, the browser will extract the corresponding element from the URL of the current document to fill in the blanks in the relative URL. use<base> Tags can cha
    2025-05-02
  • Comparison of form element attribute readonly and disabled

    Comparison of form element attribute readonly and disabled

    1) Adaptation scope: readonly: input[type=text],input[type=password],input[type=teaxtarea] disabled: all form elements, such as select, radio, checkbox, b
    2025-05-02
  • Use iframe to implement submission form without refreshing page

    Use iframe to implement submission form without refreshing page

    So we introduce an embedded framework to solve this problem. The specific principle is: when the form submits data, it does not set the submission target to the current page, but an embedded framework in the current page. First you should insert an embedd
    2025-05-02