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
  • The difference between name and value in the input tag

    The difference between name and value in the input tag

    The controls used for entry and exit in the type browser (for example, type=text, this is a text box; type=button, this is a button) The optional value of type is as follows: button button checkbox Check button component file file upload component hidden
    2025-05-26
  • Deeply understand JavaScript series (41): Detailed explanation of the template method of design pattern

    Deeply understand JavaScript series (41): Detailed explanation of the template method of design pattern

    The TemplateMethod defines the skeleton of an operational algorithm and delays some steps to a subclass. The template method allows the subclass to redefine certain specific steps of the algorithm without changing the structure of the algorithm. Template
    2025-05-26
  • How to get address bar parameters using JavaScript

    How to get address bar parameters using JavaScript

    Copy the code as follows:/*** Get the address bar parameters** @example GetUrlString('id')** @desc Add judgment when calling to ensure that the program will not make any errors* var myurl = GetUrlString('id');* if (myurl
    2025-05-26
  • js method to get seven days before the current date

    js method to get seven days before the current date

    This article example describes how to obtain the current date seven days before js. Share it for your reference. The details are as follows: //Set the date, the first seven days of the current date var myDate = new Date(); //Get today's date myDate.se
    2025-05-26
  • Sharing of ideas for implementing dependency injection in JavaScript

    Sharing of ideas for implementing dependency injection in JavaScript

    Nowadays, all frameworks are modular, and even front-end javascript is no exception. Each module is responsible for certain functions, and there is interdependence between modules. So the question is: How to implement dependency injection in javascript? (
    2025-05-26
  • Extjs 4.x gets the value of the form CheckBox checkbox

    Extjs 4.x gets the value of the form CheckBox checkbox

    CheckBox (check box) is mainly used to receive the options selected by the user as shown in the figure (please ignore the bad looks of the UI): The main code of this pop-up window is as follows: The code of copying is as follows: var win = new Ext.Window(
    2025-05-26
  • Compatibility inline-block attribute

    Compatibility inline-block attribute

    A year ago, there was no article on the inline-block attribute on the Internet. In order to facilitate everyone to better understand the attribute, I summarized and compiled the article "Depth: In-depth understanding of display: Inline-block". N
    2025-05-26
  • Introduction to the process of developing NetEase Weibo Web App with HTML5

    Introduction to the process of developing NetEase Weibo Web App with HTML5

    Comment: This article introduces the entire process of NetEase Weibo's development with HTML5. HTML5 is increasingly favored by Internet development teams at home and abroad. Foreign, Google is enthusiastically developing the Chrome Web Store, Microso
    2025-05-26
  • JS implements the method of adding commas to every three digits of the number

    JS implements the method of adding commas to every three digits of the number

    This article describes the method of adding commas to every three digits of js. Share it for your reference. The specific implementation method is as follows: function formatNum(str){var newStr = "";var count = 0;if(str.indexOf(".")==-
    2025-05-26
  • What's happening with document.write in js

    What's happening with document.write in js

    Remember that after the page is loaded, the browser output stream is automatically closed. After this, any document.write() method that operates on the current page will open a new output stream, which will clear the content of the current page (including
    2025-05-26
  • Web page HTML code: production of scrolling text

    Web page HTML code: production of scrolling text

    In this section, the author talks about the more special tags in HTML code, which can make text in web pages scroll and control its scrolling properties. Making scrolling text Through the previous study of this chapter, readers can already control the dis
    2025-05-26
  • HTML tag explanation

    HTML tag explanation

    HTML tag explanations 1. HTML tag tag:!DOCTYPE description: specifies the document type definition (DTD) that HTML documents follow. Tag: a Description: Indicate the starting or destination location of the hyperlink. Tag: acronym Description: indicate the
    2025-05-26
  • Introduction to various definition methods and common functions of arrays in javascript

    Introduction to various definition methods and common functions of arrays in javascript

    Definition of array: Method 1. Copy the code code as follows: var mycars=new Array()mycars[0]="sharejs.com"mycars[1]="Volvo"mycars[2]="BMW" Method 2. Definition and initialization together: Copy the code as follows: va
    2025-05-26
  • JavaScript implements N Queen's problem algorithm solution

    JavaScript implements N Queen's problem algorithm solution

    Puzzle N Queen's Question. Place N queens on a chess board in NxN, where no two queens are in the same row, in the same column, or in the same diagonal so that they cannot attack each other. Strategy backtracking method. JavaScript solution takes the
    2025-05-26
  • Introduction to the adapter mode of JavaScript design pattern

    Introduction to the adapter mode of JavaScript design pattern

    Adapter mode description: Adapter mode is generally the case of the interface to be used, which does not match the application or the system, but needs to be introduced in the middle adaptation layer class or object; Scenario: It’s like when we bought a m
    2025-05-26