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 factory definition object

    JavaScript factory definition object

    Each function object has a length attribute, indicating the number of parameters that the function expects to receive. The code copy is as follows:<html><head><script type="text/javascript"> var add =function(num1,num2,nu
    2025-05-19
  • JavaScript DOM Programming Art Reading Notes: A Brief History of JavaScript

    JavaScript DOM Programming Art Reading Notes: A Brief History of JavaScript

    JavaScript was developed in collaboration with Netscape and Sun. When JavaScript 1.0 was released, Netscape Navigator dominated the browser market. When Microsoft launched IE3, it released its own VBScript language, and also used JScript as its
    2025-05-19
  • Instructions for using meta viewport tags (mobile browsing zoom control)

    Instructions for using meta viewport tags (mobile browsing zoom control)

    The OP of the existing firmware will always shrink to 50% when opening a web page and then display it. It cannot support the viewport settings like the iPhone. When there is such a sentence on the web page, it will be displayed in the original size in the
    2025-05-19
  • Implementation method of dynamic rain background effect generated by JavaScript

    Implementation method of dynamic rain background effect generated by JavaScript

    This article describes the method of implementing dynamic rain background effects generated by JavaScript. Share it for your reference. The specific implementation method is as follows: Copy the code code as follows:<HTML><HEAD><TITLE> Dynamic rain backgr
    2025-05-19
  • Set as home page code and add favorite code (compatible with various browsers)

    Set as home page code and add favorite code (compatible with various browsers)

    Article introduction of Wulin.com (www.vevb.com): The most compatible in history set as home page + add collection function. I have tested that did not report an error under ie, but now the reason is unknown, and the page reported an error under ie. I am
    2025-05-19
  • Discussion on whether values ​​are passed by value or by reference in JavaScript

    Discussion on whether values ​​are passed by value or by reference in JavaScript

    I recently encountered an interesting question: "Are values ​​in JS passed by value or by reference?" Before analyzing this problem, we need to understand what is called by value and what is called by reference. In computer science, this part is
    2025-05-19
  • Get page name using javascript

    Get page name using javascript

    The code is very simple, so I won't talk much nonsense. I will give the code: copy the code as follows: Get the current page name (without the suffix name) function getPageName1(){var a = location.href;var b = a.split("/");var c = b
    2025-05-19
  • JavaScript method to modify image src

    JavaScript method to modify image src

    This article describes the method of modifying src in JavaScript. Share it for your reference. The specific implementation method is as follows: Copy the code code as follows:<!DOCTYPE html><html><head><title> Use js to change pictures </title><script>fun
    2025-05-19
  • The entire process of NodeJS crawler production

    The entire process of NodeJS crawler production

    Today, let’s learn the crawler tutorial of alsotang and simply crawl CNode. To build the project craelr-demo, we first create an Express project, and then delete all the file contents of app.js, because we do not need to display content on the web side fo
    2025-05-19
  • The great function of HTML meta

    The great function of HTML meta

    There are two types of properties of meta: name and http-equiv. The name attribute is mainly used to describe web pages, corresponding to content (web page content), so that search engine robots can search and classify (currently, almost all search engine
    2025-05-19
  • Ratchet: Create iPhone App prototype using HTML, JS, CSS

    Ratchet: Create iPhone App prototype using HTML, JS, CSS

    Ratchet is a free and open source tool. Its main function is to use the simplest HTML, CSS, JavaScript and other web technologies to easily create iPhone application prototypes. Ratchet is very simple to use, and it only takes a few simple lines of code t
    2025-05-19
  • Example analysis of keyboard event usage example in javascript

    Example analysis of keyboard event usage example in javascript

    This article analyzes the usage of keyboard events in JavaScript. Share it for your reference. The specific details are as follows: The keyboard event includes three event event event initialization function keyDown(){} document.onkey
    2025-05-19
  • html5 tutorial calls drawing api to draw simple circle code sharing

    html5 tutorial calls drawing api to draw simple circle code sharing

    Comment: Share simple circle codes in html5, please refer to them<!DOCTYPE html><head><meta charset=utf-8><title> HTML5 draw circle</title>
    2025-05-19
  • Summary of 2 methods to create tables dynamically

    Summary of 2 methods to create tables dynamically

    The first method: copy the code as follows: <html><head><script>function createTable(rows,lines){this.rows=rows;this.lines=lines;var Body=document.ge
    2025-05-19
  • Beautiful checkbox style (multiple checkbox) perfectly compatible with IE8/9/10, FF, etc.

    Beautiful checkbox style (multiple checkbox) perfectly compatible with IE8/9/10, FF, etc.

    It’s ashamed to say that I need Baidu to change the style of such a commonly used checkbox. Moreover, Baidu has been a long time, and what’s even more annoying is that Baidu has not found a feasible solution for a long time. Later, I found a lot of styles
    2025-05-19