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
  • Click a paragraph of text to rewrite the text color

    Click a paragraph of text to rewrite the text color

    Description: Click a paragraph of text and change the text to red. After clicking again, the text will turn back to black. The code copy is as follows:<!doctype html><html><head><meta charset="utf-8"><title> jquery test
    2025-05-06
  • Detailed explanation of the usage of document objects in JavaScript

    Detailed explanation of the usage of document objects in JavaScript

    The code of the object attribute copy code is as follows: document.title //Set the document title equivalent to HTML<title> Tag document.bgColor //Set page background color document.fgColor //Set foreground color (text color) document.li
    2025-05-06
  • How to achieve tab menu switching effect by js+css

    How to achieve tab menu switching effect by js+css

    This article describes the method of implementing the tab menu switching effect by js+css. Share it for your reference. The specific implementation method is as follows: index.css is as follows: Copy the code code is as follows: * { margin: 0px; padding:
    2025-05-06
  • Detailed explanation of the tiny differences between Readonly and Disabled

    Detailed explanation of the tiny differences between Readonly and Disabled

    Readonly and Disabled both enable users to not change content in the form field. But there are slight differences between them, summarized as follows: Readonly only works for input(text/password) and textarea, while disabled for all tables
    2025-05-06
  • Tasks (tasks) for building web programs using GruntJS

    Tasks (tasks) for building web programs using GruntJS

    How to customize Grunt tasks Sometimes we need to write some of our own grunt tasks. The following is a specific example: 1. Prepare 1. Create a new directory g12. Create a new package.json and put g13. Create a new Gruntfile.js and put g1package.json to
    2025-05-06
  • Introduction to Objects in JavaScript

    Introduction to Objects in JavaScript

    In JavaScript, except for number, string, boolean, null and undefined, all other values ​​are objects. Objects can be declared directly through literals or newly created through the new operator. Unlike Java language, props in JavaScript objects
    2025-05-06
  • Detailed explanation of Object usage in javascript

    Detailed explanation of Object usage in javascript

    Copy the code as follows: function forEach(o){var html ="";for(var i in o){html += i+"="+o[i]+" ";}console.log(html);console.log(o);}//1/
    2025-05-06
  • 13 web effects implemented by HTML5 and CSS3

    13 web effects implemented by HTML5 and CSS3

    Article introduction of Wulin.com (www.vevb.com): 13 web effects implemented by HTML5 and CSS3. Here are 13 web effects implemented by HTML5 and CSS3. From these fascinating web effects, you can always see the super ability of the combination of HTML5 and
    2025-05-06
  • Basic DOM tutorial: Using DOM control table

    Basic DOM tutorial: Using DOM control table

    I won’t talk about the css control of the table for now. First, I will share the common methods of DOM table addition operations in the following table. The commonly used methods are insertRow() and insertCell() methods. row is calculated from zero, for e
    2025-05-05
  • How to make spaces consistent in width in IE and FF?

    How to make spaces consistent in width in IE and FF?

    body{ font-size:12px; font-family: 安体;} body states the font size and font, so that it can be unified. Set font:font-family: 安安安, Arial This is because the default fonts of FF and Ie are different. In FF, the default font should be ArialIE.
    2025-05-05
  • JS How to implement the countdown of user registration agreement

    JS How to implement the countdown of user registration agreement

    This article describes the method of implementing the countdown of user registration protocol by JS. Share it for your reference. The specific implementation method is as follows: Copy the code code as follows:<html xmlns="http://www.w3.org/1999/xhtml"><h
    2025-05-05
  • XHTML1.0Reference - List of all HTML elements allowed in XHTML1.0!

    XHTML1.0Reference - List of all HTML elements allowed in XHTML1.0!

    <!--...--> Defines a comment<!DOCTYPE> Defines the document type<a> Defines an anchor<abbr> Defines an abbreviation<acr
    2025-05-05
  • Introduction to keyword design methods in web design

    Introduction to keyword design methods in web design

    Many times, when we make home pages, we ignore the settings of the web header properties. The header attribute of the web page refers to the area in the Html file that is acted upon by the <Head> identifier. The header information of the Html file i
    2025-05-05
  • Analysis on the difference between var and no var when defining variables in javascript

    Analysis on the difference between var and no var when defining variables in javascript

    This article analyzes the difference between var and no var when defining variables in JavaScript. Share it for your reference. The specific analysis is as follows: Look directly at the example description: The copy code code is as follows:
    2025-05-05
  • In-depth understanding of javascript object-oriented objects

    In-depth understanding of javascript object-oriented objects

    This article further analyzes and describes the in-depth understanding of object-oriented objects in JavaScript. Share it for your reference. The specific analysis is as follows: In javascript object-oriented programming, it can be understood that everyth
    2025-05-05