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 skills that some veterans may not know

    JavaScript skills that some veterans may not know

    Some less commonly used but powerful JavaScript tips are not necessarily known by novices and veteran js developers. 1. Cut the array and array length and copy the code code as follows: var arr1 = arr2 = [1, 2, 3];//Change arr1arr1 = []; //Arr2 will do wh
    2025-07-01
  • What is front-end optimization of dns-prefetch: DNS pre-resolving improves page speed

    What is front-end optimization of dns-prefetch: DNS pre-resolving improves page speed

    In web experience, we often encounter this situation, that is, when calling Baidu Alliance, Google Alliance and domain name files outside the domain name where the current web page is located, we will encounter a very serious request delay. So is there a
    2025-07-01
  • Future development trends of HTML5

    Future development trends of HTML5

    The hottest topic in the field of web front-end development in recent years is HTML5. HTML5 has fundamentally changed the way developers develop web applications. From desktop browsers to mobile applications, this language and standard are affecting and w
    2025-07-01
  • What are the new features of HTML5

    What are the new features of HTML5

    This article will share with you some interesting new features of html5. It is very practical. Friends who are interested in the new features of html5, let’s learn together. 1. Some interesting new features in HTML5: Canvas elements for painting. Video an
    2025-06-30
  • Detailed explanation of how to use HTML5 tags

    Detailed explanation of how to use HTML5 tags

    HTML 5 is a new network standard, with the goal of replacing the existing HTML 4.01, XHTML 1.0 and DOM Level 2 HTML standards. This article introduces you to a detailed explanation of how to use HTML5 tags. Friends who are interested in using HTML5 tags w
    2025-06-30
  • HTML page pops up a custom window layer that can be dragged in the center

    HTML page pops up a custom window layer that can be dragged in the center

    The principle of using DIV pop-ups to display content dynamically: First, use CSS and HTML to hide the content in the pop-ups, and then use JavaScript (JQuery in this tutorial) to display them dynamically. This effect not only makes full use of the limite
    2025-06-30
  • Summary of audio and video media playback elements in HTML5

    Summary of audio and video media playback elements in HTML5

    This article mainly introduces the summary of audio and video media playback elements in HTML5, which is the basic knowledge of multimedia development on the website page. Friends who need it can refer to the encoding/decoder of audio and video. It is a s
    2025-06-30
  • JavaScript Generate Random Color Sample Code

    JavaScript Generate Random Color Sample Code

    The code copy is as follows:
    2025-06-30
  • 2 instances of JS judgment and verification of MAC address

    2 instances of JS judgment and verification of MAC address

    Method 1: Combination code: var temp = /[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}/;if (
    2025-06-30
  • HTML5 History API implements refresh-free jump

    HTML5 History API implements refresh-free jump

    Once when I was on **.com, I found that the animation effect of login and registration was very gorgeous, but what shocked me was that the page could actually achieve no refresh jump. I reviewed the front-end knowledge I learned, and there seemed to be no
    2025-06-30
  • Operators in js word form

    Operators in js word form

    1. void operates the expression and ignores its return value, such as void (1+2), void (0) copy the code as follows:<html><head><meta http-equiv="content-type" charset="utf-8"/>
    2025-06-30
  • Detailed explanation of the basic usage methods of Communication API in HTML5

    Detailed explanation of the basic usage methods of Communication API in HTML5

    This article mainly introduces the basic usage methods of Communication API in HTML5. The article involves two important modules for building real-time and cross-domain communication: cross-document message communication and XMLHttpRequest Level 2. Friend
    2025-06-30
  • Definition and usage of substr and substr in js

    Definition and usage of substr and substr in js

    1. Substring method definition and usage The substring method is used to extract characters in a string between two specified subscripts. Syntax stringObject.substring(start,stop) parameter description start is required. A non-negative integer that specif
    2025-06-30
  • Changes in the Web era and the difference between html5 and html4

    Changes in the Web era and the difference between html5 and html4

    HTML5 is the next version of the HTML standard. More and more programmers are starting to build websites in HTML5. If you use both HTML4 and HTML5, you will find that building from scratch with HTML5 is much more convenient than migrating from HTML4 to HT
    2025-06-30
  • NextSibling in javascript uses trap (da) trap (keng)

    NextSibling in javascript uses trap (da) trap (keng)

    Today I encountered a trap (da) trap (keng) when writing JS. Issues about HTML/XML nodes are said to be in IE that nextSibling will not return text nodes, while chrome or firefox will return text nodes... This has brought serious problems to my work. I ha
    2025-06-30