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
  • HTML5 resources worth collecting (friends who study html5 can collect it)

    HTML5 resources worth collecting (friends who study html5 can collect it)

    Comment: HTML5 is attracting more and more attention, and Apple even regards HTML5 as a gravedigger for Flash. However, as a technology that has not yet been formed, HTML5 is still unfamiliar to many people. This article has collected 15 HTML5 resources t
    2025-04-24
  • Two ways to access QQ login on the website

    Two ways to access QQ login on the website

    First introduce authorized js file
    2025-04-24
  • Fixed table width table-layout: fixed

    Fixed table width table-layout: fixed

    In order to enable the table to fill the screen (remaining blank areas), its width attribute is often defined as: 100%, and cells are also defined by percentages. But this will cause problems: If the text in the cell exceeds the width limit, it will autom
    2025-04-24
  • Lua Expressions and Control Structure Learning Notes

    Lua Expressions and Control Structure Learning Notes

    The arithmetic operators of the arithmetic operator Lua are: "+" (addition): the code copy is as follows: print(1 + 2)"-" (subtraction): the code copy is as follows: print(2 - 1)"*" (multiple): the code copy is as follows: pr
    2025-04-24
  • Instructions for using path.join method in node.js

    Instructions for using path.join method in node.js

    Method description: Combine multiple parameters into one path (see example for details) Syntax: Copy the code as follows: path.join([path1], [path2], [...]) Since this method belongs to the path module, the path module needs to be introduced before use (v
    2025-04-24
  • SASS Style Programming Guide for CSS

    SASS Style Programming Guide for CSS

    As more and more developers use SASS, it is necessary to pay attention to the number of SASS code. We can explain some special features of SASS syntax based on the CSS (Cascading Style Sheet). After all, CSS style guides are very common. This article main
    2025-04-24
  • Error in JS missing identifier under IE

    Error in JS missing identifier under IE

    Search the source code based on the number of lines reported by the error, and you can't see any problem. It seems that nothing is missing. The code is as follows: if (opts.display.class != '') { $(list).addClass(opts.display.css);} This sente
    2025-04-24
  • Encapsulation of native js events and removal

    Encapsulation of native js events and removal

    Add or delete events in IE browser with attachEvent and detachEvent. In other standard browsers, addEventListener and removeEventListener are used. The following encapsulates the addition and removal of events. Just look at the code! /*** @des
    2025-04-24
  • Instructions for using fs.fstat method in node.js

    Instructions for using fs.fstat method in node.js

    Method description: Obtain file information based on file descriptor. Syntax: The code copy is as follows: fs.fstat(fd, [callback(err, stats)]) Since this method belongs to the fs module, it is necessary to introduce the fs module (var fs= require("f
    2025-04-24
  • 3 implementation methods for implementing synchronous operations in node.js

    3 implementation methods for implementing synchronous operations in node.js

    As we all know, asynchronous is a unique feature and advantage, but at the same time, the need for synchronization in programs (for example, the execution order of the control program is: func1 -> func2 -> func3 ) is also very common. This article r
    2025-04-23
  • Detailed explanation of HTMLDOM operation in javascript

    Detailed explanation of HTMLDOM operation in javascript

    1. Definition: htmlDOM is an object-oriented tree model that contains all elements in html; all elements contained in the dom can be found through html. 2. Function: 1. Find the html element 1) Find the element by id (document.getElementById();)
    2025-04-23
  • Easily create nodejs server (9): implement non-blocking operations

    Easily create nodejs server (9): implement non-blocking operations

    We want to pass the response object (get from the server's callback function onRequest()) to the request handler through the request routing. The handler can then use the functions on the object to respond to the request. Let's first modify server
    2025-04-23
  • The HTML structure is clearer and more standardized, and learn the idea of ​​HTML5 optimization structure.

    The HTML structure is clearer and more standardized, and learn the idea of ​​HTML5 optimization structure.

    The HTML structure is clearer and more standardized, and learn the idea of ​​HTML5 optimization structure. HTML 5 has added some new elements to identify commonly used structures. HTML is more semantic, but we cannot use it directly, even if it is possibl
    2025-04-23
  • JavaScript implements date format conversion

    JavaScript implements date format conversion

    The code copy is as follows:<!doctype html><html><head><meta charset="utf-8"><title> Date input </title><script>window.onload = function(){var aLay
    2025-04-23
  • Instructions for using buffer.Buffer.isEncoding method in node.js

    Instructions for using buffer.Buffer.isEncoding method in node.js

    Method description: Detect whether it is a valid encoding parameter, return true or false. Syntax: The copy code code is as follows: Buffer.isEncoding(encoding) Receive parameters: encoding {String} Example of the detected encoding format: The copy code c
    2025-04-23