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
  • Recommend 4 common functions for native javascript

    Recommend 4 common functions for native javascript

    [1] Add the listening event copy code code as follows: addHandler:function(node,type,fn){if(node.addEventListener){node.addEventListener(type,fn,false); // f
    2025-06-01
  • IE9 is still at the bottom of its support for HTML5

    IE9 is still at the bottom of its support for HTML5

    Article introduction of Wulin.com (www.vevb.com): html5test.com is an online benchmark test, which is similar to Acid3, but is mainly used to test the browser's compatibility with HTML5. Ironically, IE9 only brings a faster JS engine and is still at t
    2025-06-01
  • Discussion on the limits of serial numbers of ol elements in html documents

    Discussion on the limits of serial numbers of ol elements in html documents

    Generally speaking, it is unlikely to encounter a huge number of things in html documents<ol> List, this article is just a purely technical discussion. I happened to encounter this problem and tested it. The limit measured is [-2147483648, 2147483647], th
    2025-06-01
  • Model nodes in the basic DOM tutorial

    Model nodes in the basic DOM tutorial

    <html>It has no parent at the top of the web page, and it is called the root node 1. Element nodes can be said that the entire DOM model is composed of element nodes, such as text paragraph elements.<p> ", name of the disordered list"<ul> ”, Ele
    2025-06-01
  • Overview of request routing for nodejs

    Overview of request routing for nodejs

    Generally speaking, the server should have different responses for different URL requests. We need to provide the requested URL and other required GET and POST parameters for the route, and then the route needs to execute the corresponding code based on t
    2025-06-01
  • A simple udp broadcast server and client implemented by Nodejs

    A simple udp broadcast server and client implemented by Nodejs

    It is quite simple to send udp broadcasts on nodejs. Let’s write a server to receive broadcast data first. The code is as follows: Copy the code code as follows: var dgram = require("dgram"); ​​var server = dgram.createSocket("udp4");
    2025-06-01
  • Detailed explanation of xml syntax

    Detailed explanation of xml syntax

    1. Document rules 1. Case sensitivity. 2. The attribute value must be quoted (single quotes and double quotes are fine). In general, double quotes are recommended. 3. All markers must have an end symbol. 4. All empty tags must be closed. 5. There must be
    2025-06-01
  • JavaScript combined with ajax to read the content of txt file

    JavaScript combined with ajax to read the content of txt file

    The code is very concise, so I don’t talk much nonsense here. I just go to the source code html code to copy the code as follows:<!doctype html><html><head><meta charset="utf-8"/></head><body>
    2025-06-01
  • html5 tutorial drawing rectangle code sharing

    html5 tutorial drawing rectangle code sharing

    Comment: HTML5 can draw many shapes. The following is the code to draw rectangles. Please refer to it.<!DOCTYPE html><head><meta charset=utf-8><title> HTML5 drawing rectangles</title>
    2025-06-01
  • How to prevent hyperlink jumps when using a link

    How to prevent hyperlink jumps when using a link

    When I was using it <a href= onclick=>, some problems arose, which confused me for more than a month. Now I have obtained the following conclusion from netizens, which made me suddenly realize and the problem was solved. The linked onclick event is execut
    2025-06-01
  • Detailed explanation of the interpreter mode of javascript design pattern

    Detailed explanation of the interpreter mode of javascript design pattern

    Is Shenma an "interpreter mode"? Let’s first open the GOF to see Definition: Given a language, define a representation of its grammar, and define an interpreter, which uses this representation to interpret sentences in the language. Before the b
    2025-06-01
  • How to clean up floats in a comprehensive way?

    How to clean up floats in a comprehensive way?

    Clear a floating thing that anyone who makes a page will encounter, but can everyone know clearly and comprehensively? So when I was free, I immediately wrote such an article. I couldn't cover everything, but I could basically teach everything I knew.
    2025-06-01
  • JS method to realize the synchronous switching effects of pictures and link text

    JS method to realize the synchronous switching effects of pictures and link text

    This article describes the method of synchronous switching effects of JS in image and link text. Share it for your reference. The specific implementation method is as follows: Copy the code code as follows:<html><title> Special effects for synchronous swi
    2025-06-01
  • What is the function of the HTML page style!---

    What is the function of the HTML page style!---

    Mainly for lower version browsers<!-- --> It is annotation tag for html, which will be recognized by higher versions of browsers.<style>标签是样式表, 并忽略里面的html注释标签,会解析它, 低版本的浏览器有的不识别<style>标签,就会把样式表的内容显示在页面上, 所以加
    2025-06-01
  • How to write HTML relative paths of the upper and lower directory

    How to write HTML relative paths of the upper and lower directory

    How to represent the upper directory../ represents the previous directory of the directory where the source file is located, .../../ represents the upper directory of the directory where the source file is located, and so on. Assume that the info.html pat
    2025-06-01