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
  • How to write high-quality JS code

    How to write high-quality JS code

    I want to write an efficient JavaScript class library but I can't start; I try to read other people's class library, but I understand it as if I understand it; I plan to study advanced js functions well, but the content in the authoritative book i
    2025-06-15
  • Detailed explanation of prototypes and prototype chains in JavaScript

    Detailed explanation of prototypes and prototype chains in JavaScript

    Each object in javascript has a built-in property prototype. The explanation of the prototype property of an object in Javascript is: Return a reference to the object type prototype. It means that the prototype attribute holds a reference to another JavaS
    2025-06-15
  • HTML 5 parsing rules

    HTML 5 parsing rules

    One of the successes of the html5 recommendation standard is the provision of a detailed specification for how to parse html documents. Browser providers have always tried to guess and copy implementations of other browsers, hoping that their parsers will
    2025-06-15
  • Summary of the selection method of disabling right-click menu and dragging on the web page

    Summary of the selection method of disabling right-click menu and dragging on the web page

    1. Forbid the right mouse button menu: There are two methods to prohibit the right mouse button 1. Add a Javascript event handle to the Body tag of the HTML element, the code is as follows: Copy the code code as follows:<body onContextMenu="return false">
    2025-06-15
  • A deep understanding of JavaScript series (29): Detailed explanation of the Decorator Mode of Design Pattern

    A deep understanding of JavaScript series (29): Detailed explanation of the Decorator Mode of Design Pattern

    Introducing decorators provide a more flexible alternative than inheritance. Decorators use objects used to wrap the same interface, which not only allows you to add behavior to methods, but also set the methods to original object calls (such as the decor
    2025-06-15
  • Summary of the method of including file content in html file

    Summary of the method of including file content in html file

    This article mainly introduces a summary of the method of including the content of the html file. Friends who need it can refer to it. In the forum, netizens often ask, can they read the content of another html file in one html file? The answer is certain
    2025-06-15
  • html5 canvas implement circular clock code sharing

    html5 canvas implement circular clock code sharing

    Comment: The clock implemented by html5canvas, please refer to it<!DOCTYPE html><html><head><meta charset="UTF-8"><title> HTML CLOCK</title></head><body>
    2025-06-15
  • JS will not execute when the browser type is ie6

    JS will not execute when the browser type is ie6

    js determines the browser type $.browser object $.browser.version browser version copy code code is as follows: var binfo = ''; if ($.browser.msie) { binfo = "Microsoft Internet
    2025-06-15
  • Summary of cross-browser development experience (I) HTML tagging

    Summary of cross-browser development experience (I) HTML tagging

    Add DOCTYPE to the page. Since different browsers have different interpretations of the style sheets, it is necessary to define a standard document type for the html file, so that different browsers try to parse and render pages according to a unified htm
    2025-06-15
  • Usage of return false in JavaScript

    Usage of return false in JavaScript

    In most cases, returning false for event handlers prevents default event behavior. For example, by default <a>, clicking an element will jump to the page specified by the href attribute of the element. Return False is equivalent to the terminator, and Ret
    2025-06-15
  • JS+CSS to realize the method of displaying DIV layer induction mouse gradient

    JS+CSS to realize the method of displaying DIV layer induction mouse gradient

    This article describes the method of JS+CSS to realize the gradient display of the DIV layer inducing the mouse. Share it for your reference. The specific implementation method is as follows: Copy the code code as follows:
    2025-06-15
  • a. If there are texts written in the label and there are pictures, how to hide texts and only display pictures

    a. If there are texts written in the label and there are pictures, how to hide texts and only display pictures

    Often I encountered <a>a style of the tag that shows a picture, but the tag contains text and wants the text to be hidden. In many cases, I will think of text-indent:-9999em; but today I found that in ie7 and 360 default ie mode, the picture is not displa
    2025-06-15
  • Example analysis of usage of sort() in javascript

    Example analysis of usage of sort() in javascript

    This article analyzes the usage of sort() in javascript. Share it for your reference. The specific analysis is as follows: Function syntax: arrayObject.sort(sortby) you think this is not the right way but you
    2025-06-15
  • Detailed explanation of javascript fold half search

    Detailed explanation of javascript fold half search

    Half-finding search method: In an ordered table, compare the data value to be searched with the intermediate element value of the search range, and there will be three situations: 1) If the data value to be searched is exactly equal to the intermediate el
    2025-06-15
  • The difference between html Frame, Iframe, Frameset

    The difference between html Frame, Iframe, Frameset

    10.4.1 The difference between Frameset and Frame First, explain the difference between Frameset and Frame.<Frameset></Frameset> Used to divide the frame, each frame is<Frame></Frame> mark.<Frame></Frame> Must be in <F
    2025-06-15