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
  • How to encapsulate common modules in Node.js

    How to encapsulate common modules in Node.js

    Module loading and execution are wrapped in Node.js so that the variables in the module file are in a closure and will not pollute global variables and conflict with others. Front-end modules are usually the ones we developers place module code in a closu
    2025-04-30
  • Introduction to exception catching in JavaScript

    Introduction to exception catching in JavaScript

    Like Java language, JavaScript can throw exceptions through throw statements. Unlike Java language, JavaScript can throw all types of values ​​through throw statements, not only to throw error objects. Copy the code as follows://Throw an Error ob
    2025-04-30
  • A brief analysis of the difference between "==" and "===" in Javascript

    A brief analysis of the difference between "==" and "===" in Javascript

    When using JavaScript before, I would occasionally encounter the use of the two symbols == and === to determine whether the two variables are equal. However, the difference between these two symbols has not been investigated. I encountered the symbol ===
    2025-04-30
  • Beginners come into contact with HTML to learn about some HTML tags (1)

    Beginners come into contact with HTML to learn about some HTML tags (1)

    Beginners can come into contact with HTML to learn some HTML tags and introduce them one after another. It can help beginners learn HTML, or friends who are already in the process of getting started as a reference. It is also quite good! These introduced
    2025-04-30
  • QQ space top folding page tearing effect sample code

    QQ space top folding page tearing effect sample code

    Effect: HTML: Copy the code as follows:<div id="pageflip">
    2025-04-30
  • Simple customization of beautiful checkboxes without much code utilizing hyperlinks

    Simple customization of beautiful checkboxes without much code utilizing hyperlinks

    Today I suddenly thought that the styles that can be changed in the checkboxes in html are limited, and now it takes a lot of code to make a checkbox, and then I thought of a simple implementation. It totally proved that this is feasible. Not to mention m
    2025-04-30
  • Instructions for using buffer.Buffer.byteLength method in node.js

    Instructions for using buffer.Buffer.byteLength method in node.js

    Method description: Get the byte length of the string. The difference between this function and String.prototype.length is that the latter returns the number of characters of the string. Syntax: The code copy is as follows: Buffer.byteLength(string, [enco
    2025-04-30
  • Introduction to the new Css selector and pseudo-class added to HTML5

    Introduction to the new Css selector and pseudo-class added to HTML5

    Comment: HTML5 has added a new Css selector and pseudo-class. This article has compiled some and gave a simple introduction to use. Friends who like html5 can refer to it. I hope it will be helpful to everyone. Selector p[name^=my]{font-size:14px} Selecto
    2025-04-30
  • Introduction to creating objects with literals in JavaScript

    Introduction to creating objects with literals in JavaScript

    In JavaScript, literals can be used to directly create a new object: the copy code is as follows: var obj = {a:27, "b":99}; As mentioned above, when creating an object with literals, the property definition in the object can be included in singl
    2025-04-30
  • Semantics b and i tags in HTML5

    Semantics b and i tags in HTML5

    Comment: The b and i tags are not recommended or even opposed to the use of the current Web standard unspoken rules, as they are believed to behave in bold and italics without any semantics. More substitutes with strong and em tags. And in the new HTML5 w
    2025-04-30
  • HTML Self-study Journey (I) Basic Elements and Attributes Exercises (Writing Self-Code)

    HTML Self-study Journey (I) Basic Elements and Attributes Exercises (Writing Self-Code)

    I learned it according to the tutorial above W3school. I personally think the tutorial is very good. There are small exercises in each section. Come on! They all typed codes themselves. Some books oppose writing codes themselves, but I think it is still b
    2025-04-30
  • Introduction to the use of html marquee tags

    Introduction to the use of html marquee tags

    This tag is not part of HTML3.2 and only supports MSIE3 later kernels. Therefore, if you use a non-IE kernel browser (such as Netscape) you may not be able to see some interesting effects below. This tag is a container tag Marquee announcement scrolling c
    2025-04-30
  • HTML5 File API improves web upload function

    HTML5 File API improves web upload function

    Comment: HTML 5 Let HTML, a once simple label language, shine with mature charm, making it a powerful tool for web developers. Recently, W3C launched a new draft - HTML5 File API. This API will greatly improve the web-based file upload operation and even
    2025-04-30
  • Basic structure of html document (basic knowledge of making web pages)

    Basic structure of html document (basic knowledge of making web pages)

    HTML running principle: 1. Local run: Open the html file with a browser 2. Remote access run: It is best not to have Chinese if the file name of the local browser accesses the remote server (tomcal) web page, because in the future, it is recommended that
    2025-04-30
  • HTML Code Writing Specifications Guide

    HTML Code Writing Specifications Guide

    The general convention tag is self-closing, without closing (for example: img input br hr, etc.); an optional closing tag needs to be closed (for example:</li> or</body> ); minimize the number of tags; XML/HTM
    2025-04-30