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
  • Discussion on the issue of defining variables and variable priority in JavaScript

    Discussion on the issue of defining variables and variable priority in JavaScript

    Look at the following code: Copy the code as follows: if (!("aa" in window)) { alert('oh my god');var aa = 1; } alert("aa" in window);alert(aa); Answer the following question: Will an error be reported? Will play
    2025-04-06
  • XHTML has semantic tags: a discussion about H1 location

    XHTML has semantic tags: a discussion about H1 location

    XHTML has semantic tags: Discussion on H1 location has been discussed a lot recently (in the article content page), and there are roughly two situations: 1. H1 should be used on the article title 2. H1 should be used on the site title, I believe most peop
    2025-04-06
  • js propertychange and oninput events

    js propertychange and oninput events

    Fortunately, there are propertychange (IE) and oninput events. Oninput is an event in a standard browser and is generally applied to the input element. It will occur when the input value changes, and it can be listened to in real time whether it is keyboa
    2025-04-06
  • html5 Canvas drawing tutorial (9) - Draw rectangles and circles in canvas

    html5 Canvas drawing tutorial (9) - Draw rectangles and circles in canvas

    This article will talk about the method of drawing rectangles and circles in canvas, they belong to basic graphics. Of course, there are more than just them in basic graphics, but in canvas, only drawing rectangles and circles does not require other simul
    2025-04-06
  • Why do you need to add var keyword when declaring variables?

    Why do you need to add var keyword when declaring variables?

    In JavaScript, var is used to declare variables, but this syntax is not strictly required. Many times, we can directly use a variable without using var to declare it. The code copy is as follows: var x = "XX"; y = "xxx"; and so on. The
    2025-04-06
  • QQ mandatory chat code

    QQ mandatory chat code

    http://wpa.qq.com/msgrd?V=1&Uin=******&Site=ioshenmue&Menu=yes************ is the QQ number. Copy this code directly into IE to chat with that QQ number, but the premise is that your own QQ number needs to be logged in. generally
    2025-04-06
  • Introduction to the programming language JavaScript

    Introduction to the programming language JavaScript

    What is JavaScript? JavaScript is a scripting language widely used in the development of client web pages (browser), such as adding dynamic functions to HTML web pages, such as responding to various user operations. JavaScript is an object-based and event
    2025-04-06
  • HTML validate - Verify HTML code to travel through multiple browser standards

    HTML validate - Verify HTML code to travel through multiple browser standards

    HTML validate refers to HTML verification. It analyzes HTML documents, marks out errors and non-standard code through comparison with standard HTML rules. Web pages are rendered using HTML, and HTML itself adopts HTML specifications as its rules and stand
    2025-04-06
  • A JavaScript handles characters in textarea into each line instance

    A JavaScript handles characters in textarea into each line instance

    <!doctype html><html lang="en"><head><meta charset="utf-8"><title>One JavaScript instance per day - handles characters in textarea into each line
    2025-04-06
  • JavaScript method to determine file upload type

    JavaScript method to determine file upload type

    This article shows the method of judging file upload type in JavaScript, which is a very common technique. The specific implementation method is as follows: a function is used when uploading the file, which is implemented using the input tag of the html e
    2025-04-06
  • HTML Table Tag Tutorial (33): Vertical Alignment Properties of Cells VALIGN

    HTML Table Tag Tutorial (33): Vertical Alignment Properties of Cells VALIGN

    In the vertical direction, the alignment of cells can be set, including top, center and bottom. Basic syntax<TD VLIGN=TOP><TD VLIGN=MIDDLE><TD VLIGN=MOTTOM> The top syntax interpretation is MIDD
    2025-04-06
  • Summary of 6 operators in JavaScript

    Summary of 6 operators in JavaScript

    JavaScript operators mainly include: arithmetic operator assignment operator comparison operator ternary operator logical operator string connection operator arithmetic operator operator description example operation result + add
    2025-04-06
  • It provides server settings for a body's attribute, but it can be derived from other htmlcontrols.

    It provides server settings for a body's attribute, but it can be derived from other htmlcontrols.

    the first code snippet below uses the attributes collection of the <body> tag (implemented as an htmlcontrol object) to
    2025-04-06
  • Structure and semantics of HTML5 - Structure (II)

    Structure and semantics of HTML5 - Structure (II)

    Due to the lack of structure, even good HTML pages are difficult to deal with. The level of the title must be analyzed to see how each part is divided. The sidebar, footer, header, navigation bar, main content area and articles are represented by common d
    2025-04-06
  • XHTML Introduction Tutorial: What is XHTML?

    XHTML Introduction Tutorial: What is XHTML?

    What is HTML? To put it simply: HTML is used to make web pages. It's very simple. In the next 1 to 2 minutes, you will follow me to make a simple web page with HTML. To put it more complex: HTML (the abbreviation of HyperTextMarkupLanguage), that is,
    2025-04-06