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
  • HTML5 tag omission syntax rules

    HTML5 tag omission syntax rules

    HTML5 tags can be omitted, which can save the size of the web page without affecting the page layout. Reduce the amount of code.
    2025-01-24
  • Use frameworks to build rich Internet applications

    Use frameworks to build rich Internet applications

    JavaScript libraries, ICEfaces, Adobe's Flash, Microsoft Silverlight, and now HTML5, the global competition for network dominance has entered a new era - a rich Internet application (RIA for short, also called rich Internet application in Chinese) era
    2025-01-24
  • JS and C# encoding and decoding

    JS and C# encoding and decoding

    There are 69 characters that are not encoded by escape: *, +, -, ., /, @, _, 0-9, az, and there are 82 characters that are not encoded by A-ZencodeURI: !, #, $, &, ', (, ),*,+,,,-,.,/,:,;,=,?,@,_,~,0-9,az,A-ZencodeURI
    2025-01-24
  • Beautify the text in your space: 20 CSS font mirror effects

    Beautify the text in your space: 20 CSS font mirror effects

    I saw some text mirroring effects on the Internet, and suddenly felt that the text in my space was too monotonous. I was not in a hurry to optimize it, so I sorted out some CSS text mirroring effects first, because the original ones did not have CSS code.
    2025-01-24
  • Detailed explanation of how to avoid accuracy errors in numerical calculations using JavaScript

    Detailed explanation of how to avoid accuracy errors in numerical calculations using JavaScript

    If I ask you what is 0.1 + 0.2? You may give me a blank look, 0.1 + 0.2 = 0.3 Ah, do you still need to ask? Even children in kindergarten can answer such a pediatric question. But you know, the same problem in a programming language may not be as simple a
    2025-01-24
  • Three ways to use the javascript confirmation box

    Three ways to use the javascript confirmation box

    The first method: It is very easy to use. Only after confirmation can the download address page be opened. The principle is also relatively clear. Mainly used to confirm deletion of a single message. Copy the code code as follows:<SCRIPT LANGUAGE=javascri
    2025-01-24
  • How to build a simple query server using express

    How to build a simple query server using express

    This article introduces the method of using express to build a simple query server and shares it with everyone. The details are as follows: The technology stacks used include express and mysql. Project structure: service--node_modules--app.js--query.jsapp
    2025-01-24
  • How to insert html content and text content at a specified place

    How to insert html content and text content at a specified place

    dhtml provides two methods to add, insertAdjacentHTML and insertAdjacentText insertAdjacentHTML method: insert html tag statement at the specified place. Prototype: insertAdjacentHTML(swh
    2025-01-24
  • Sample code for using html2canvas.js to capture page screenshots and display or upload them

    Sample code for using html2canvas.js to capture page screenshots and display or upload them

    I recently used html2canvas.js when writing projects, which can realize the screenshot function of the page, but I encountered many pitfalls, so I will write an essay to record them. When using html2canvas, you may encounter problems such as only the visu
    2025-01-24
  • Simple sample code to compare two time sizes in JS

    Simple sample code to compare two time sizes in JS

    As shown below: Copy the code The code is as follows: if (new Date(strSD.replace(//-/g, '//')) > new Date(strED.replace(//-/g, '//')) ) { //The start time is greater than the end time alert("Time selection
    2025-01-24
  • Dynamically load external css or js files

    Dynamically load external css or js files

    Principle analysis: Step 1: Use dom to create<script>或者<link>标签,并给他们附加属性,如type等第二步:使用appendChild方法把标签绑定到另一个标签,一般是绑到<head>.
    2025-01-24
  • js example of precision processing of decimal addition

    js example of precision processing of decimal addition

    Copy the code as follows: zf = accAdd(zf, parseFloat("12.11")); //Addition function, used to obtain accurate addition results //Explanation: The addition result of JavaScript will have errors when adding two floating point numbers. will be more
    2025-01-24
  • The best solution to the png transparency problem under IE6

    The best solution to the png transparency problem under IE6

    Originally it was just a png transparent picture, which is easy to solve under IE. I have also tried many methods, including js method, filter css method, etc., but I feel that overall it is not perfect, and if I use the Sprites method at the same time ,
    2025-01-24
  • An in-depth analysis of enumeration functions in JavaScript

    An in-depth analysis of enumeration functions in JavaScript

    Since the Microsoft AJAX Library has greatly expanded JavaScript, the commonly used function of enumeration has of course been added. This time we will discuss the enumeration function of JavaScript. Since the example is very simple, just look at the HTML
    2025-01-24
  • CSS 3 Tutorial: Understanding the box-sizing property

    CSS 3 Tutorial: Understanding the box-sizing property

    In IE5.x and IE6/7 in Quirks mode, both border and padding are included in width.
    2025-01-24