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
  • Three ways to write js self-call anonymous functions (recommended)

    Three ways to write js self-call anonymous functions (recommended)

    The first type: (function(){ console.log('hello world") })() The second type: (function(){ console.log('hello world') }()) The third type: !function(){
    2025-08-09
  • A brief summary of String string types in JavaScript

    A brief summary of String string types in JavaScript

    The String type represents a sequence of characters composed of 0 or more 16-bit Unicode characters, i.e. a string. Strings in ECMAScript are immutable, that is, once strings are created, their values cannot be changed. To change the string saved by a var
    2025-08-09
  • Example of js clearing content in form form

    Example of js clearing content in form form

    Copy the code as follows: //Clear form select function clearForm(id){ var formObj = document.getElementById(id); if(formObj == undefined){ return
    2025-08-09
  • Take stock of the nine newly emerging HTML5 development tools

    Take stock of the nine newly emerging HTML5 development tools

    HTML5 is regarded as a powerful tool for web developers to create popular web applications, adding support for video and Canvas 2D. The birth of HTML5 also allowed people to re-examine the future of browser-specific multimedia plug-ins, such as Adobe'
    2025-08-09
  • JS and PHP to determine the browser type used when the user requests

    JS and PHP to determine the browser type used when the user requests

    When developing WeChat public accounts, a large part of it is the development of micro-sites. We need to know that the current browser is a built-in browser for WeChat. So how to judge? How to determine the User Agent of WeChat’s built-in browser? First,
    2025-08-09
  • Share ten powerful HTML5 development tools around the world

    Share ten powerful HTML5 development tools around the world

    Comment: Today, I recommend 10 of the world's best HTML5 development tools. If you are a beginner or a beginner, this article will definitely be useful to you recently. Recently, I saw someone ask on the HTML5 forum what are the better HTML5 developme
    2025-08-09
  • Embed codes for several old web players

    Embed codes for several old web players

    This article mainly introduces the embedded codes of several old players, Windows Media Player, Real Player, and today it does seem to be somewhat nostalgic: D Friends who need it, please refer to the players we see on the web pages, which are nothing mor
    2025-08-09
  • JS get the selected text on the mouse

    JS get the selected text on the mouse

    js gets the text code selected by the mouse as follows:<html><head><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title> js get mouse selection
    2025-08-09
  • JS method to obtain the absolute path of input file (recommended)

    JS method to obtain the absolute path of input file (recommended)

    Recently, I encountered some problems in getting the file path because I needed to upload files to oracle blob. Due to security reasons, the new browser does not support directly obtaining local URLs. I have found some methods online, as follows: <script
    2025-08-09
  • node.js implements quick screenshots

    node.js implements quick screenshots

    When writing articles, you often need to insert pictures. Inserting existing pictures is very simple. Sometimes when you make some excellent website lists, you need to add web page screenshots. This process is very boring. You can consider developing a co
    2025-08-09
  • Objects and prototypes in Javascript (II)

    Objects and prototypes in Javascript (II)

    In the previous article, objects and prototypes in JavaScript (I) mentioned some basic operations in the creation of objects in JavaScript, and will continue to discuss them next. We know that to create an object, we can use the following code: var user =
    2025-08-09
  • HTML5 Canvas code example implementing rose curves and heart pattern

    HTML5 Canvas code example implementing rose curves and heart pattern

    Comment: This article mainly introduces code examples of HTML5 Canvas that implement rose curves and heart-shaped patterns. Friends who need it can refer to the following effect picture: Tip: Copy the code into an html file and save it, and open it direct
    2025-08-09
  • A brief discussion on the addition and subtraction time in javascript

    A brief discussion on the addition and subtraction time in javascript

    I encountered some problems when dealing with date parameters in JS in the morning, and I didn’t know how to add or subtract the time. The initial idea was to take out year, month, day, hour, minute, second separately, and then add it manually. . . At fir
    2025-08-09
  • A brief summary of commonly used functions of nodejs file operation module FS (File System)

    A brief summary of commonly used functions of nodejs file operation module FS (File System)

    There are quite a lot of functions related to the operation of the component system. First, it can be divided into two categories. One type is asynchronous + callback. One category is synchronous. Here we only organize asynchronously, and synchronously on
    2025-08-09
  • Easily master the JavaScript proxy mode

    Easily master the JavaScript proxy mode

    In object-oriented design, there is a single responsibility principle, which means that in terms of a class (object, function), there should be only one reason for its change. If an object assumes too many responsibilities, it means it will become huge, a
    2025-08-09