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
  • html5 guide - 2. How to operate document metadata

    html5 guide - 2. How to operate document metadata

    Today's content is about how to manipulate document objects. 1. Operate Document Metadata First, let’s take a look at the relevant properties: characterSet: Get the encoding method of the current document, which is read-only; charset: Get or set the c
    2025-04-28
  • Easily create nodejs server (7): implementation of blocking operations

    Easily create nodejs server (7): implementation of blocking operations

    Let's take a look at what blocking operation is; I simulate a sleep() method to delay the hello star printing by 10 seconds. requestHandlers.js copy code code as follows: function start() {console.log("Request handle
    2025-04-28
  • Brief discussion on the display mode of html tags (block level tags, inline tags, inline block tags)

    Brief discussion on the display mode of html tags (block level tags, inline tags, inline block tags)

    During my lecture today, I talked about the display mode of tags in html, which are roughly divided into block-level tags and in-line tags. Then when beginners first use tags, they will find that some attributes do not work on some tags, such as width, he
    2025-04-28
  • A brief discussion on the stop conditions of uniform motion in Javascript

    A brief discussion on the stop conditions of uniform motion in Javascript

    Let’s first look at the previous code of uniform motion. What kind of bug will occur after modifying the speed. Here are two benchmarks for testing the copy code as follows: <style type="text/css">#div1 {width: 100px;height: 100px;p
    2025-04-28
  • 2 ways and precautions for adding script scripts in html

    2 ways and precautions for adding script scripts in html

    Add in html<script>脚本的方法: 1、可以直接将javascript代码添加到html中复制代码
    2025-04-28
  • Determine whether the page in the iframe has been loaded

    Determine whether the page in the iframe has been loaded

    Copy the code as follows: //Defend whether the iframe is loading, RMid is the ID of the iframe document.getElementById("RMid").onload = function () { alert("Loading completed"); } //In the parent framework
    2025-04-28
  • HTML5 SVG 2D Introduction 4 - Strokes and Fills

    HTML5 SVG 2D Introduction 4 - Strokes and Fills

    Before, we focused on summarizing various shapes, texts and pictures. Next, we will summarize the color processing, that is, the filling and border effects, as we discuss canvas. You will find that the content here is basically the same as canvas. These p
    2025-04-28
  • JavaScript framework design reading notes seed module

    JavaScript framework design reading notes seed module

    1. Namespace: The namespace in js is extended using the properties of the object. For example, a user defines an A object, with B attributes and C attributes under the A object, and B attributes and C attributes are objects. Therefore, A={B:{},C:{}}, then
    2025-04-28
  • XHTML tutorial: dl, dt, dd defines the tags of the list class

    XHTML tutorial: dl, dt, dd defines the tags of the list class

    Article introduction of Wulin.com (www.vevb.com): XHTML tutorial: dl, dt, dd defines the labels of the list class. When we make lists, we usually only use ul and li tags. As for dl, dt, and dd, they are rarely used. These three tags are tags that belong t
    2025-04-28
  • Dynamic loading, caching, update and reuse of javascript (I)

    Dynamic loading, caching, update and reuse of javascript (I)

    Scope of use: OA, MIS, ERP and other information management projects, the website is not considered for the time being. Problems encountered: When completing a project, you often need to reference many js files, such as jQuery.js, easyUI, etc. There are a
    2025-04-28
  • Read, write, and delete cookie code sequel

    Read, write, and delete cookie code sequel

    Last article: Use js to read, write, delete cookie code and share detailed annotations. Some problems were found in practice: 1. Cookies can only be debugged on Firefox on local files, IE and chrome are invalid. 2. Cookies are not set to never expire. The
    2025-04-28
  • HTML5 Future: WebGL's Powerful Graphic Creation and Animation

    HTML5 Future: WebGL's Powerful Graphic Creation and Animation

    Wulin.com (www.vevb.com) Article Introduction: The Future Web: Nine Incredible WebGL Application Trials. 1. Pearl Boy If you need a moment to relax, then try Pearl Boy. This exquisite demonstration is very simple to control the little boy on the boat in t
    2025-04-28
  • Use native JS to implement pop-up layer effects

    Use native JS to implement pop-up layer effects

    Create a mask layer copy code as follows:_createCover: function() {var newMask = document.createElement("div");newMask.id = this._mark;newMask.styl
    2025-04-28
  • Alternative usage of && and || of Javascript

    Alternative usage of && and || of Javascript

    I haven't had much time writing articles lately, and I feel like I'm always busy with things, haha. However, these days, I started to study Titanium again and found that its official MVC framework (Alloy) was quite good. At first, I was struggling
    2025-04-28
  • Table sets different colors and widths for each cell in html

    Table sets different colors and widths for each cell in html

    It is recommended not to directly set width, height, etc. in the table. The settings often occur when the settings are not effective. If you add settings in the style, there will be no problem. The code can be copied directly to the middle of the body and
    2025-04-28