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
  • Deeply understand the JavaScript series (46): Detailed explanation of the code reuse mode (recommended article)

    Deeply understand the JavaScript series (46): Detailed explanation of the code reuse mode (recommended article)

    The four code reuse modes introduced in this article are best practices and are recommended to everyone during the programming process. Pattern 1: Prototype inheritance Prototype inheritance is to let the parent object be the prototype of the child object
    2025-05-13
  • HTML Weight Loss: Simplify HTML tagging to create web pages

    HTML Weight Loss: Simplify HTML tagging to create web pages

    An obvious way to improve website speed is to reduce the size of the html file. There are some methods, such as: hard compression, acupuncture-like id and changing the class name. Here are some of the ways we summarized to make html tags more streamlined.
    2025-05-13
  • Detailed explanation of the synchronous scrolling implementation ideas of Markodwn title alignment

    Detailed explanation of the synchronous scrolling implementation ideas of Markodwn title alignment

    The preface requires the synchronous scrolling function to add to the Markodwn editor you are writing. Baidu has connected it and found no better idea. I just wrote one myself. Github is a well-written library and a more intuitive demo. This article in Gi
    2025-05-13
  • JavaScript data type example sharing

    JavaScript data type example sharing

    We have introduced the data types of javascript before. Today we will review the old ways through some examples, hoping that everyone can reach the point of knowing new things. The code copy is as follows: <script type="text/javascript">//1、Boolean 类型//2、
    2025-05-13
  • A brief discussion on javascript iteration method

    A brief discussion on javascript iteration method

    ECMAScript5 defines 5 iterative methods for arrays. Each method receives two parameters: the function to run on each item and the scope object (optional) that runs the function (i.e. the value that affects this). The functions passed into these methods re
    2025-05-13
  • JS implements a method of popping an input box in a web page

    JS implements a method of popping an input box in a web page

    This article describes the method of JS implementing a pop-up input box in a web page. Share it for your reference. The specific analysis is as follows: Friends who are used to setting passwords for computer folders in the early stages must still remember
    2025-05-13
  • JavaScript plug-in development tutorial (III)

    JavaScript plug-in development tutorial (III)

    1. In the first two articles, we mainly talk about how to develop plug-ins in the jQuery method, and how to design a plug-in by combining process design with object-oriented thinking design. Both methods have their own advantages and disadvantages to lear
    2025-05-13
  • Methods in HTML to make form input and other text boxes read-only and not editable

    Methods in HTML to make form input and other text boxes read-only and not editable

    Sometimes, we want the text box in the form to be read-only, so that the user cannot modify the information in it, such as<input type=text name=input1 value=中国> The content of the word "Chinese" cannot be modified. To summarize the implementatio
    2025-05-13
  • Detailed explanation of built-in javascript object operations

    Detailed explanation of built-in javascript object operations

    1.indexOf() method -----This method is commonly used to return the specified string value where the first occurrence of the string is in the string using the format: stringObject.indexOf(substring, startpos) For example: Find the second o position var mys
    2025-05-13
  • JavaScript to create web pictures to achieve raining effect

    JavaScript to create web pictures to achieve raining effect

    Here we mainly use a rainyday js library, which is very simple and convenient to use, so we don’t talk much nonsense, just read the demo code. The code copy is as follows:
    2025-05-13
  • HTML Weight Loss Lite HTML Tag Making Web Page

    HTML Weight Loss Lite HTML Tag Making Web Page

    HTML 4HTML (non-XHTML), MIME type is text/html, allowing some tags to be omitted. With HTML 4 DTD, you can omit the following tags (those so-called avoidable elements are marked with strikethroughs)</area></base><body> </
    2025-05-13
  • Instructions for using console.assert method in node.js

    Instructions for using console.assert method in node.js

    Method description: This method is the same as assert.ok(). If the expression (expression) evaluation result is false, an AssertionError will be raised. The syntax is accompanied by the message: the copy code is as follows: console.assert(ex
    2025-05-13
  • A AJAX function shared in native Javascript encapsulation

    A AJAX function shared in native Javascript encapsulation

    Recently, I have involved a lot of ajax operations, and I have to do what I should do in the background. The ajax function I am using now is encapsulated by a background personnel - but it is based on jquery's ajax, so it has no effect without jquery&
    2025-05-13
  • Why can't the mp4 format video be played in html?

    Why can't the mp4 format video be played in html?

    The following code is in my test.html. You can play the video through the absolute path such as c:/test.html. However, you can't play it through: http://localhost/test.html. It just loads a player on the page. Each button does not work.
    2025-05-13
  • Detailed explanation of html body tag and commonly used control tags for html

    Detailed explanation of html body tag and commonly used control tags for html

    one,<body> Tag: Used to mark the body of a web page. The body element contains all the contents of the document (such as text, hyperlinks, images, tables, lists, etc.) 1. Properties available in the body tag: bgcolor=color value: Set the background color
    2025-05-13