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
  • js countdown jump example after a few seconds

    js countdown jump example after a few seconds

    Copy the code code as follows:<html><head><title> Something went wrong~~~</title>
    2025-01-25
  • Html5 localStorage Getting Started Tutorial

    Html5 localStorage Getting Started Tutorial

    Defining read-only localStorage allows you to access the remote (origin) object storage of a Document; data is stored as a cross-browser session. localStorage is similar to sessionStorage, the difference is that the data is stored in localSt
    2025-01-25
  • js numerical value converted to 3-digit comma separated sample code

    js numerical value converted to 3-digit comma separated sample code

    Example code: Copy the code as follows: function formatNum(strNum) {if (strNum.length <= 3) {return strNum;}if (!/^(/+|-)?(/d+)(/./d+) ?$/.test(str
    2025-01-25
  • Introduction to the use of anonymous functions in js

    Introduction to the use of anonymous functions in js

    1. Overview of anonymous functions The first time I got to know anonymous functions was in the jquery source code. When I opened jQuery, the first thing I saw was the copied code: (function(window, undefined) {........... ............})(wind
    2025-01-25
  • Detailed explanation of rapid development of network topology diagram applications based on HTML5

    Detailed explanation of rapid development of network topology diagram applications based on HTML5

    Starting today, we will analyze how to build an HTML5 Canvas topology graph application from the most basic level. HT internally encapsulates a topology graph component ht.graph.GraphView (hereinafter referred to as GraphView), which is the component with
    2025-01-25
  • A brief analysis of the use of download attributes in HTML5

    A brief analysis of the use of download attributes in HTML5

    With the development of front-end technology, more and more business scenarios require front-end to handle file downloads. Among the many methods, <a>downloading through the download attribute of the tag is a common and relatively simple method. The downl
    2025-01-25
  • Summary of commonly used escape characters in html

    Summary of commonly used escape characters in html

    A summary of commonly used escape characters in HTML, the specific content is as follows: Non-stop spaces Half-square spaces Full-square spaces < Less than <> Greater than > & & symbol" Double quotation mark © Copyright symbol ©®
    2025-01-24
  • Use HTML5 native dialog elements and easily create modal components

    Use HTML5 native dialog elements and easily create modal components

    The HTML 5.2 draft adds a new dialog element. But it's an experimental technique. Previously, if we wanted to build any kind of modal dialog or dialog box, we needed to have a background, a close button, bind events in the dialog box, arrange our mark
    2025-01-24
  • A brief analysis of the difference between document.ready and window.onload

    A brief analysis of the difference between document.ready and window.onload

    Javascript can only perform certain operations on DOM elements after they have been defined. This problem is described in detail in the article "Javascript Execution Sequence" //www.VeVB.COm/article/44577.htm. jQuery uses document.rea
    2025-01-24
  • Discuss the loading order of html and javascript in browsers

    Discuss the loading order of html and javascript in browsers

    I swept through JavaScript a while ago, and I felt good about myself at the time. Now that I think about it, I feel like it’s nothing. Today's task is to study the chapter on the life cycle of the client page in asp.net ajax. However, I was a bit conf
    2025-01-24
  • Example of js operation table (personal experience)

    Example of js operation table (personal experience)

    I remember that I encountered such a problem during an interview: There is a form, and then there are 4 input boxes and a merge button. The input box is like this, from which row to which row, and from which column to which column. , and then click the bu
    2025-01-24
  • Interpretation of examples of methods to execute arbitrary html code in javascript

    Interpretation of examples of methods to execute arbitrary html code in javascript

    In today's code, I accidentally discovered that the eval() function of javascript cannot execute html code, for example: Copy the code as follows: <script>eval('<li>hehe</li>')</script> The code will not be executed, but it can be executed if changed
    2025-01-24
  • Interactive subway line map based on HTML5 Canvas

    Interactive subway line map based on HTML5 Canvas

    Preface When I was looking for inspiration on echarts two days ago, I saw a lot of similar examples of maps, map positioning, etc., but there seemed to be no subway map, so I spent some time tinkering with this interactive subway map. Demo, the points on
    2025-01-24
  • 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