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
  • Commonly used JS verification and function summary

    Commonly used JS verification and function summary

    Below are some JS verifications and functions I often use. Some verifications I have written directly into the properties of the object, and can directly call the copy code through the object. The code is as follows: //Float point division operation funct
    2025-05-16
  • Introduction to arguments and overloading in Javascript

    Introduction to arguments and overloading in Javascript

    Because of language design errors, arguments can be treated as an array. The code copy is as follows: function zero () {console.log(arguments[0]);} There will also be code copy is as follows: function zero () {for(va
    2025-05-16
  • Detailed explanation of Javascript dynamic operation of CSS

    Detailed explanation of Javascript dynamic operation of CSS

    1. How to write css attributes using js 1. For css attributes without a mark, you can usually use the style. attribute name directly. For example: obj.style.margin, obj.style.width, obj.style.left, obj.style.position2,
    2025-05-16
  • Implementation code for web crawling using phantomjs

    Implementation code for web crawling using phantomjs

    Because phantomjs is a headless browser that can run JS, it can also run dom nodes, which is the best way to use it for web crawling. For example, we want to batch crawl the content of the web page "Today in history". According to the website&#3
    2025-05-16
  • html Hide div HTML CSS style of TABLE or DIV content hidden in tables

    html Hide div HTML CSS style of TABLE or DIV content hidden in tables

    A problem that has been troubled for several days was solved tonight, but I don’t know if it has been solved, hopefully yes! In addition, I suddenly remembered a hidden style code I used a few years ago. Sometimes it is very convenient to use it. For exam
    2025-05-16
  • Solution to using html2canvas to process Dom elements with Baidu map into pictures

    Solution to using html2canvas to process Dom elements with Baidu map into pictures

    Problem 1: Baidu Maps uses tile-style pictures (the map is spelled out one by one). When html2canvas is processed, when encountering pictures other than the same domain name, the browser will display cross-domain errors, and it cannot be solved by reverse
    2025-05-16
  • Benefits of utilizing Title attributes in web pages

    Benefits of utilizing Title attributes in web pages

    At first, no one had the habit of adding titles to links, but later, because of the popularization of W3C standards, they collectively added titles. From one extreme to another, many strange phenomena have occurred. In two aspects, the title in the first
    2025-05-16
  • html tbody usage

    html tbody usage

    Grouped Table (IExplore Only) 1) Grouped by row<thead> ...</thead> - The header of the table<tbody> ...</tbody> - Table text (Body) <t
    2025-05-16
  • Absolute path URL and relative path URL in html, as well as subdirectories, parent directories, root directory

    Absolute path URL and relative path URL in html, as well as subdirectories, parent directories, root directory

    Absolute URLs are used to represent all the contents needed for a specific file in the Internet. Each file in the Internet has a unique URL, which is the connection you need to enter into the address bar when searching on a web page. For example, to enter
    2025-05-16
  • Write a hello world using angular

    Write a hello world using angular

    angularjs follows the MVC pattern. The convention is to copy the code as follows: <html ng-app><head><script type="text/javascript" src="angular.min.js"></scri
    2025-05-16
  • How to display icon fonts on web pages? icon font display style in html

    How to display icon fonts on web pages? icon font display style in html

    The main features use icon font to generate icons. Compared with image-based icons, the following benefits are as follows: 1. Freely change the size 2. Freely modify the color 3. Add shadow effects 4. IE6 can also support 5. Support other properties of im
    2025-05-16
  • HTML tutorial, HTML default style

    HTML tutorial, HTML default style

    html, address, blockquote, body, dd, div, dl, dt, fieldset, form, frame, frameset, h1, h2, h3, h4, h5,
    2025-05-16
  • JavaScript to get selected text in text box

    JavaScript to get selected text in text box

    This article describes the method of obtaining selected text in the text box by JavaScript. Share it for your reference. The specific analysis is as follows: The code here can be used to obtain the selected version selected by the user in the text input b
    2025-05-16
  • JS controls how to enter only numbers and decimal points in text boxes

    JS controls how to enter only numbers and decimal points in text boxes

    This article example describes the method of controlling js to input only numbers and decimal points in text boxes. Share it for your reference. The specific implementation method is as follows: the copy code code is as follows: function clearNoNum(obj) {
    2025-05-16
  • How to implement Baidu waterfall flow by js

    How to implement Baidu waterfall flow by js

    This article example describes the method of implementing Baidu waterfall flow by JS. Share it for your reference. The specific implementation method is as follows:<!DOCTYPE HTML><html><head><meta charset="utf-8"><title> Imitation of Baidu Pictures Waterf
    2025-05-16