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 new form type sample code

    HTML5 new form type sample code

    demo.html:<!DOCTYPE html> <html lang=en> <head> <meta charset=UTF-8> <title>Document</title> <style>
    2025-02-15
  • Detailed explanation of HTML5 page rem layout adaptation method

    Detailed explanation of HTML5 page rem layout adaptation method

    The main method of the rem layout adaptation scheme is: dynamically calculate and set the font-size of the HTML root tag according to the ratio of the design draft to the width of the device; in CSS, the width, height, relative position, etc. of the desig
    2025-02-15
  • Maybe these are the H5 soft keyboard compatibility solutions you want (summary)

    Maybe these are the H5 soft keyboard compatibility solutions you want (summary)

    Preface I have been working on an H5 chat project recently, and I have encountered one of the biggest pitfalls: the input box gets focus, the soft keyboard pops up, and the input box is required to be adsorbed (or pushed) on the input method box. The requ
    2025-02-15
  • How to upgrade H5 hybrid development app

    How to upgrade H5 hybrid development app

    After our app development is completed, it is inevitable that the product will be upgraded in the future, so we hope that the app will be automatically upgraded on the customer's mobile phone, which can be divided into automatic upgrade and manual upg
    2025-02-15
  • JS record user login number implementation code

    JS record user login number implementation code

    Copy code code as follows: Function www_helpor_net (offset) {var endstr = document.cookie.indexof (";", offset); if (endstr == -1) Endstr
    2025-02-15
  • SQL injection vulnerability caused by php is_numberic function

    SQL injection vulnerability caused by php is_numberic function

    1. Introduction to is_numberic function. Some domestic CMS programs have used is_numberic function. Let's first look at the structure of this function. Bool is_numeric (mixed $var) If var is a number and a numeric string, it will return TRUE, otherwis
    2025-02-15
  • JS judgment code before deletion execution

    JS judgment code before deletion execution

    1. Copy the code as follows:<script> function del(){ if(confirm("确认删除吗")){ alert("yes"); } else{ alert("no") return; } } </script>
    2025-02-15
  • Summary of common original JS selector usage methods

    Summary of common original JS selector usage methods

    Common getElementById, getElementsByName, getElementsByTagName. But foreigners were not satisfied with these APIs, so they created getElementsByClassName, and later a jQuery selector appeared little by little, here only
    2025-02-15
  • 4 ways to asynchronous programming of javascript

    4 ways to asynchronous programming of javascript

    As you may know, the execution environment of the Javascript language is "single thread". The so-called "single thread" means that one task can only be completed at a time. If there are multiple tasks, you must queue up, complete the p
    2025-02-15
  • Advanced JS debugging skills: Capture and analyze JavaScript Error in detail

    Advanced JS debugging skills: Capture and analyze JavaScript Error in detail

    Anyway, as long as the refresh fails to reproduce after a JavaScript error, the user can solve the problem by refreshing, and the browser will not crash, and it will be fine if it has not happened. This assumption was true before the Single Page App becam
    2025-02-15
  • Canvas pixel point operation video green screen cutout

    Canvas pixel point operation video green screen cutout

    This article introduces the video green screen cutout of canvas pixel point operation and shares it with everyone. The details are as follows: Usage: context.putImageData(imgData, x, y, dX, dY, dWidth, dHeight); Parameter description imgData stipulates th
    2025-02-15
  • Nodejs uses mysql module to obtain the number of rows affected by updates and deletion

    Nodejs uses mysql module to obtain the number of rows affected by updates and deletion

    The way to make such judgments directly in mysql is to use row_count(), which is followed by the SQL statement you execute. Nodejs' i/o is asynchronous, so this creates a problem, which is not easy to judge Which sentence row_count() is the result of
    2025-02-15
  • About HTML table unit details (1)

    About HTML table unit details (1)

    The HTML form is used to collect different types of user input HTML forms to collect user input; Form element defines the HTML form.<form> FORM ELEMENTS</form> Action attributes ACTION Definition The action performed when submitting the form. Server
    2025-02-15
  • Examples of three ways to uncheck the radio button

    Examples of three ways to uncheck the radio button

    This article provides three ways to uncheck radio. The code examples are as follows: This article relies on jQuery. The first and second methods are implemented using jQuery, and the third method is implemented based on JS and DOM. Copy the code code as f
    2025-02-15
  • A brief summary of regular expressions in JavaScript

    A brief summary of regular expressions in JavaScript

    1. Methods of Defining Regular Expressions There are two ways to define regular expressions: constructor definition and regular expression direct quantity definition. For example: the code copy is as follows: var reg1 = new RegExp('/d{5, 11}'); //
    2025-02-15