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 method to get the value of the span tag of html (super simple)

    js method to get the value of the span tag of html (super simple)

    The code in HTML is: <span id="testid">aaaa</span> obtained js code: Method 1: .innerTextvar x1 = document.getElementById("testid").innerText; alert
    2025-08-05
  • Several methods and verifications for submitting forms using JS (must-read)

    Several methods and verifications for submitting forms using JS (must-read)

    I found the problem of convenient form submission at work. Many times, I submitted it well under IE, but there was a problem after hitting Firefox. Using the submit button was unsuccessful, so I succeeded by using JS, and I don’t know why. Under the urgin
    2025-08-05
  • html5 Use canvas to draw text effects

    html5 Use canvas to draw text effects

    This article mainly introduces the use of canvas to draw text effects in html5. Friends who need it can refer to it<canvas id=canvas width=500 height=400 style=background-color: yellow;></canvas> complex
    2025-08-05
  • JavaScript simple obtains the complete example of the current time of the system

    JavaScript simple obtains the complete example of the current time of the system

    This article describes the method of JavaScript to simply obtain the current time of the system. I will share it with you for your reference. The specific details are as follows: The screenshot of the operation effect is as follows: The specific code is a
    2025-08-05
  • Vue.js Introductory Tutorial: Binding Class and Style Style

    Vue.js Introductory Tutorial: Binding Class and Style Style

    1. Preface I believe everyone knows that a common requirement for data binding is the class list of operation elements and its inline style. Since they are all properties, we can handle them with v-bind: we just need to calculate the final string of the e
    2025-08-05
  • All tags in HTML5 and explanation of the meaning of tags

    All tags in HTML5 and explanation of the meaning of tags

    This article mainly introduces the summary of all tags in HTML5 and the explanation of the meaning of tags. This article summarizes the contents of structural tags, multimedia interaction tags, web application tags, annotation tags, other tags, etc. Frien
    2025-08-05
  • How to use Javascript date format function

    How to use Javascript date format function

    Preface Javascript date formatting is quite common in daily development. So below I will share with you two examples of using Javascript time format format function. Let’s take a look. Method one Date.prototype.pattern=function(fmt) {
    2025-08-05
  • Writing simple mail templates using HTML

    Writing simple mail templates using HTML

    This article mainly introduces the use of HTML to write simple email templates. The author advocates minimalism... You can first look at the finished template introduced in the link at the end of the article. Friends who need it can refer to it today. I w
    2025-08-05
  • JavaScript special text input box web page effects

    JavaScript special text input box web page effects

    The examples in this article share the special effects of the special js text input box for your reference. The specific content is as follows: Let the text box only have underscores<script type="text/javascript"> function changeTextStyle()
    2025-08-05
  • Simple examples of JS verification of 15-bit and 18-bit ID cards

    Simple examples of JS verification of 15-bit and 18-bit ID cards

    1. Structure and representation of ID card number 1. The structure of the number is based on the provisions of the national standard GB11643-1999 of the People's Republic of China. The citizen identity number is a characteristic combination code, cons
    2025-08-05
  • JavaScript implements the national provincial, municipal and county refresh-free multi-level context menu effect code

    JavaScript implements the national provincial, municipal and county refresh-free multi-level context menu effect code

    This article describes the refreshless multi-level context menu effect codes implemented in javascript across the country. I will share it with you for your reference. The specific details are as follows: The screenshot of the operation effect is as follo
    2025-08-05
  • Web printing solution: Normal report printing function

    Web printing solution: Normal report printing function

    I have done many web projects. Most of the time when printing page content, I use Javascript to call the built-in printing method of the system to print, that is, call PrintControl.ExecWB(,) to achieve direct printing and printing preview functions. Altho
    2025-08-05
  • HTML5 Learning Notes History API

    HTML5 Learning Notes History API

    This series of articles mainly learns Html5-related knowledge points, takes the learning API knowledge points as the entrance, and introduces examples from shallow to deep, so that everyone can understand what h5 can do step by step, and how to use it rat
    2025-08-05
  • A brief analysis and interpretation of closures in JavaScript (must-read)

    A brief analysis and interpretation of closures in JavaScript (must-read)

    Closures in JavaScript are really a cliché question. Recently, I have been asking about my own expression skills and I can't fully support them. I'm crazy. On the way back, I suddenly thought of a very simple thing. In fact, when we are doing proj
    2025-08-05
  • Detailed explanation of nodejs and aes encryption in javascript

    Detailed explanation of nodejs and aes encryption in javascript

    1. Introduction 1. Aes encryption, in cryptography, is also known as Rijndael encryption method, which is a block encryption standard adopted by the US federal government. This standard is used to replace the original DES, and has been analyzed by multipl
    2025-08-05