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
  • JavaScript mock train ticket booking and refund example

    JavaScript mock train ticket booking and refund example

    I saw someone analyzing the logic of the 12306 background before. . Booking and unsubscribe of train tickets is different from ordinary shopping. One problem is that train tickets can be sold at different stations. For example, there are many stations alo
    2025-05-24
  • JavaScript plug-in development tutorial (IV)

    JavaScript plug-in development tutorial (IV)

    1. The beginning analysis of Hi, do you still remember the previous article? It mainly tells how a "Tab" plug-in organizes code and implements it, and how to design a plug-in by combining process design with object-oriented thinking design. Both
    2025-05-24
  • JavaScript pre-zero operation example

    JavaScript pre-zero operation example

    This article describes the method of pre-zero operation of JavaScript. Share it for your reference. The details are as follows: In many cases, in order to display the format, it is necessary to perform the first 0 operation if a certain string does not me
    2025-05-24
  • JS implements the method of changing color by sensing the mouse fade in and out of text links

    JS implements the method of changing color by sensing the mouse fade in and out of text links

    This article describes the method of JS to realize the text link sensing mouse fade in and out to change color. Share it for your reference. The specific implementation method is as follows: Copy the code code as follows:
    2025-05-24
  • JS object inheritance example

    JS object inheritance example

    This article describes the usage of prototype chain inheritance of js object inheritance. Share it for your reference. The specific analysis is as follows: The copy code code is as follows: <script type="text/javascript">//定义猫的对象var kitty = {color:'yellow
    2025-05-23
  • Type or language of script tag attribute

    Type or language of script tag attribute

    I was asked a question: Copy the code as follows:<script language = "JavaScript"><script type="text/javascript"><script>这三个标签的使用有什么区别?虽然一直在用,却也没有好好去弄清楚
    2025-05-23
  • Description and usage introduction of table attributes CellPad, CellSpace and Border in web page production

    Description and usage introduction of table attributes CellPad, CellSpace and Border in web page production

    cellpacing is the distance between cells in a table; cellpadding is the blank part of cells in a table; commonly known as outer patches and inner patches, similar to margin and padding applied to divs and spans. You can experiment and add borders to cells
    2025-05-23
  • JavaScript implements the conversion of full-width and half-width characters

    JavaScript implements the conversion of full-width and half-width characters

    First, then talk nonsense^_^Copy the code as follows:/*** Turn full-width characters*/function toDBC(str){var result = "";var len = str.length;for(var i=0;i
    2025-05-23
  • Easily create nodejs server (3): code modularity

    Easily create nodejs server (3): code modularity

    Most of the functional blocks of nodejs exist in the form of modules. Usually there will be a unified entry index.js, and then different modules are called to complete the functions we need. Let's first look at how to turn server.js into a module for
    2025-05-23
  • A brief discussion on JavaScript data types

    A brief discussion on JavaScript data types

    1.What is the data type? In most programming languages ​​we are exposed to, data is classified, including numbers, characters, logic truth and false: int, long, string, boolean..., etc.; we all know that computers use binary methods to process data. Load
    2025-05-23
  • XHTML language default CSS style

    XHTML language default CSS style

    html,address,blockquote,body,dd,div,dl,dt,fieldset,form,frame,frameset,h1,h2,h3,h4,h5,h6,noframes,ol,p,ul,center,dir,hr,
    2025-05-23
  • Basic syntax of JavaScript learning notes

    Basic syntax of JavaScript learning notes

    Many basic contents in JavaScript are basically the same as those in Java, so there is no need to repeat them separately, including: various arithmetic operators, comparison operators, logical operators; if else statements, switch statements; for loops, w
    2025-05-23
  • Simple way to achieve scrolling effect by HTML tag marquee (must read)

    Simple way to achieve scrolling effect by HTML tag marquee (must read)

    The automatic scrolling effect of the page can be implemented by javascript, but today I accidentally discovered an html tag -<marquee></marquee> It can achieve multiple scrolling effects without js control. Use marquee markers to move not only text, but
    2025-05-23
  • Detailed explanation of the usage of simple html and css

    Detailed explanation of the usage of simple html and css

    I will use three days to complete the static page effect of JD homepage, including html and css. 1. Before development progresses, we must first configure the development environment: we need to install development software such as sublime webstorm vscode
    2025-05-23
  • js Dialog removes the X-closing function in the upper right corner

    js Dialog removes the X-closing function in the upper right corner

    When using the dialog pop-up box, you don’t want the X-off function in the upper right corner, just make a prompt message to display it. I found some information online. Three solutions were found online: [The first one is available. 】 1. The code copy is
    2025-05-23