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
  • Nine commonly used sorting algorithms in JavaScript

    Nine commonly used sorting algorithms in JavaScript

    Written interviews often involve various algorithms. This article briefly introduces some commonly used algorithms and implements them in JavaScript. 1. Insertion sorting 1) Introduction to the algorithm The algorithm description of Insertion-Sort is a si
    2025-04-01
  • Event delegate and prevent bubbles from triggering its parent element event

    Event delegate and prevent bubbles from triggering its parent element event

    Let me briefly talk about event delegation and prevent bubbles from happening:<ul data-type="cityPick"><li data-id="0"> all</li><li data-id="88"> New York</li><li data-id="119"> Los Angeles</li>
    2025-04-01
  • NetEase Mobile Picture Free Downloader (hta)

    NetEase Mobile Picture Free Downloader (hta)

    The code is as follows:<TITLE> NetEase File Insulation</TITLE><metahttp-equiv="Content-Type"content="text/html;charset=gb2312">
    2025-04-01
  • How to determine which text is selected in HTA using vbs?

    How to determine which text is selected in HTA using vbs?

    Q: Hello, script expert! How to determine which text is selected in HTA? --DO Answer: Hello, DO. You know, most people think that writing a “Hello, script expert!” column every day is one of the most attractive and exciting jobs in the world. Maybe it is
    2025-04-01
  • Javascript saves web pages as images with the help of html2canvas library

    Javascript saves web pages as images with the help of html2canvas library

    The first step is to save the web page as a Canvas canvas, with the help of the html2canvas library, http://html2canvas.hertzen.com/html2canvas(document.getElementById("id1"), { onrender
    2025-04-01
  • Common HTML web page effects

    Common HTML web page effects

    Common HTML effect code 1. Ignore the right click<bodyoncontextmenu=returnfalse> or<bodystyle=overflow-y:hidden> 2. Add background music IE:<bgsoundsrc=*.midloop=infinite> N
    2025-04-01
  • How to make IE support HTML5

    How to make IE support HTML5

    Comment: More and more sites are starting to use HTML5 tags, but the current situation is that many people are still using IE6, IE7, and IE8. In order to allow all viewers to access normally, the solution is the following two more sites that have begun to
    2025-04-01
  • Some precautions and code methods for playing videos through HTML5 calls

    Some precautions and code methods for playing videos through HTML5 calls

    In this quick tip on video, we will explore how to use HTML5 video tags in your project. Because old browsers and Internet Explorer are not supported<video> Elements, we must find a solution for these browsers that supports Flash files.
    2025-04-01
  • Generate DOM tree from HTML file under C#

    Generate DOM tree from HTML file under C#

    Since we need to use C# for related programming in I recently, we have sorted out the corresponding code. The following code is to access html and generate the code of the treeview dom book: private void insertdomnodes(ihtmldomnode parentnode, t
    2025-04-01
  • Currently, the support for HTML5 and CSS3 by mainstream browsers

    Currently, the support for HTML5 and CSS3 by mainstream browsers

    The launch of CSS3 and HTML5 has also made compatibility of various browsers a concern for many designers. This article arranges the current support for CSS3 and HTML5 in a table form. The following is the relevant content on the current mainstream browse
    2025-04-01
  • HTML5 structure elements: article

    HTML5 structure elements: article

    article: Represents a part of a page composed of self-contained components in a document, page, application, or site, and this part is intended for independent classification or reuse. (Example: a blog post, an article, a video file, etc.) and<nav> Likewi
    2025-04-01
  • Example of implementation of native JavaScript generation GUID

    Example of implementation of native JavaScript generation GUID

    GUID (Global Unified Identifier) ​​refers to the number generated on a machine, which ensures that it is unique to all machines in the same space and time. Usually the platform provides an API for generating GUIDs. The generation algorithm is very interes
    2025-04-01
  • Node.js implements search for a string and file in the directory

    Node.js implements search for a string and file in the directory

    The requirements are as follows: there are about 40 M in the entire directory, and there are countless files. Due to the time, I can't remember which file the string is in, so. The powerful, blinding Node.js made a brilliant debut. There is no differe
    2025-04-01
  • Summarize the tips for closing this window with javascript

    Summarize the tips for closing this window with javascript

    Everyone knows that window.close() is used to close windows, and both ie and firefox are supported. In order to achieve absolute control of the browser by users, when closing a non-open window in ie, a dialog box pops up when closing a non-open window, as
    2025-04-01
  • HTML5 structural element: footer

    HTML5 structural element: footer

    Footer: Generally, it contains copyright data, navigation information, filing information, contact information, etc.<body><nav> …</nav><div id=mainContent> …</div><aside><nav><h2> …</h2><ul> …</ul></nav>
    2025-04-01