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 problem of form elements and prompt text not aligning

    The problem of form elements and prompt text not aligning

    Recent projects involve a lot of form production, especially checkboxes and radio boxes. However, during the front-end development process, it was found that the single (complex) check boxes and the prompt text behind them could not be aligned without any
    2025-05-30
  • html5 Canvas drawing tutorial (8) - bezierCurveTo method for drawing curves in canvas

    html5 Canvas drawing tutorial (8) - bezierCurveTo method for drawing curves in canvas

    In the previous article, I have talked about 3 ways to draw curves in canvas: arc, arcTo and quadraticCurveTo. They all have one thing in common, that is, the curves they draw can only be biased to one side. The biggest difference between bezierCurveTo an
    2025-05-30
  • Javascript Learning Notes Objects (II): Prototype Objects

    Javascript Learning Notes Objects (II): Prototype Objects

    Javascript is the only widely used language for inheritance of prototypes, so it takes time to understand the differences between the two inheritance methods. The first major difference is that Javascript uses prototype chains to inherit: function Foo() {
    2025-05-30
  • Some thoughts about JavaScript namespace

    Some thoughts about JavaScript namespace

    Recently, I refactored things, encountered the namespace settings, searched for some knowledge, asked some experts, and wrote down my experience, I believe everyone knows that window is top-level, so I won’t write window here, Ignore 1: The code for the t
    2025-05-30
  • The content in the html pre tag automatically wraps the line

    The content in the html pre tag automatically wraps the line

    At this time, you can use overflow:auto; (when the code exceeds the container boundary, the scroll box is displayed), but this method is not applicable to all mainstream browsers, and some browsers will directly truncate the exceeded content. it is known<
    2025-05-30
  • The problem of alignment of input text box and img verification code (img is always one header higher than input)

    The problem of alignment of input text box and img verification code (img is always one header higher than input)

    In web page production, input and img are often placed in the same line. The img tag is always one header higher than input, which is very ugly. CCS implements horizontal alignment of input and img, just add vertical-align:middle to input and img at the s
    2025-05-30
  • Summary of common JavaScript scripts (I)

    Summary of common JavaScript scripts (I)

    jquery restriction text box can only enter numbers jquery restriction text box can only enter numbers, compatible with IE, chrome, and FF (the performance effect is different). The sample code is as follows: The copy code code is as follows: $("input
    2025-05-30
  • JS method to realize background image sensing mouse changes

    JS method to realize background image sensing mouse changes

    This article describes the method of JS to sense the mouse changes in the background image. Share it for your reference. The specific analysis is as follows: After clicking the mouse, the background image changes. Clicking on the front of another menu ite
    2025-05-30
  • JavaScript method to compare whether two objects are equal

    JavaScript method to compare whether two objects are equal

    This article describes the method of JavaScript to compare whether two objects are equal. Share it for your reference. The details are as follows: In Python, you can use the cmp() built-in function to compare whether the data contained in two objects are
    2025-05-30
  • Guide to using router in angularJS

    Guide to using router in angularJS

    I have read angularjs and backbone these days, and I have learned about knockout and emberjs. I just saw a demo of an angular router on the Internet. Now I will write down the code and copy the code as follows:<!---DEMO_INDEX.html-->
    2025-05-30
  • Introduction to the use of HTML elements noscript

    Introduction to the use of HTML elements noscript

    noscript definition and usage The noscript element is used to define the substitute content (text) when the script is not executed. This tag can be used to identify<script> 标签但无法支持其中的脚本的浏览器。HTML 与 XHTML 之间的差异NONE提示和注释:注释:如果浏览器支
    2025-05-30
  • HTML5+CSS3 instance tutorial: Draw the logo of the Aoyou browser

    HTML5+CSS3 instance tutorial: Draw the logo of the Aoyou browser

    Article introduction of Wulin.com (www.vevb.com): I recently started to learn some of the knowledge I developed in the previous stage, of course, Html5 and Css3 are indispensable. As my first lesson, I referred to other people's examples, did it mysel
    2025-05-30
  • Introduction to the role and application examples of the Enctype property of Form form tags

    Introduction to the role and application examples of the Enctype property of Form form tags

    Enctype: Specifies the encoding type used by the browser when sending data back to the server. Used to upload pictures in the form. There are three encoding types: application/x-www-form-urlencoded: Encode all characters before sending (default). This is
    2025-05-30
  • js return to the previous page and refreshed code

    js return to the previous page and refreshed code

    1. Javascript returns to the previous page history.go(-1), and returns two pages: history.go(-2); 2. history.back().3. window.history.forward() returns to the next page 4. window.hi
    2025-05-30
  • Collection of HTML5 Canvas articles

    Collection of HTML5 Canvas articles

    Article introduction of Wulin.com (www.vevb.com): Basic knowledge and article compilation of Canvas elements in HTML5. Many new features have been introduced, one of the most exciting ones is the canvas elements. HTML 5 canvas provides a way to draw graph
    2025-05-30