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 gets a summary of web pages, browsers, screen heights and widths

    JavaScript gets a summary of web pages, browsers, screen heights and widths

    I often find that when writing JavaScript, you need to use the height and width of the web page, browser or screen to solve the layout positioning problem. You often forget it before and after use, or search online, and simply summarize it yourself, so th
    2025-05-08
  • Writing a simple calculator using JavaScript

    Writing a simple calculator using JavaScript

    The method of this article is super simple, and the idea is very recommended. Please refer to it and copy the code as follows:<!DOCTYPE html><html><head>
    2025-05-08
  • html scrollbar textarea property settings

    html scrollbar textarea property settings

    1. Settings when overflow content overflow (set whether the object is set to display scroll bar) Settings when overflow-x horizontal content overflow-y Settings when overflow-y vertical content overflow The values ​​set above three attributes are visible
    2025-05-08
  • The difference between scrollWidth, clientWidth, offsetWidth

    The difference between scrollWidth, clientWidth, offsetWidth

    Test the difference between these three properties through a demo. Description: scrollWidth: The width of the actual content of the object, the width of the line without edges, will become larger as the content in the object exceeds the viewing area. clie
    2025-05-08
  • JavaScript study notes

    JavaScript study notes

    1. Conditional branch statement: if basic format: if (<expression 1>){<sentence group 1>}else if (<expression 2>){<sentence group 2>}else{<sentence group 3>} Execution process: 2. Test loop statement before loop statement 2.1
    2025-05-08
  • JavaScript DOM Programming Art Reading Notes DOM Basics

    JavaScript DOM Programming Art Reading Notes DOM Basics

    DOMDOM: Document object model; Node element node: The atom of the DOM is the element node.<body> ,<p> ,<ul> Elements like that. Elements can contain other elements. The only element that is not included in the other elements is<html> Element text node: In
    2025-05-08
  • Advanced usage skills of Socket.IO in node.js

    Advanced usage skills of Socket.IO in node.js

    In my previous blog post, Socket.IO, I briefly introduced the basic usage of Socket.IO and created a simple chat room DEMO. Based on the introductory chapter, this article continues to explore the advanced usage of Socket.IO. This article will start from
    2025-05-08
  • td automatically wrap the content table table td set width and then wrap the text automatically.

    td automatically wrap the content table table td set width and then wrap the text automatically.

    Set the style=table-layout:fixed of table; then set the style=word-wrap:break-word of td; to copy the code
    2025-05-08
  • Detailed instructions on the control of HTML table borders

    Detailed instructions on the control of HTML table borders

    Show only the upper border<table frame=above> Show only the lower border<table frame=below> Only the left and right borders are displayed<table frame=vsides> Only the upper and lower borders are displayed<table frame=hsides> Show only the left border
    2025-05-08
  • Special effects HTML code analysis for moving left and right conversion

    Special effects HTML code analysis for moving left and right conversion

    <div align=center> <table style=color:white; font-size:10pt border=1 style=color:white; font-size:10pt bordercolor=#FF99
    2025-05-08
  • Instructions for using fs.read method in node.js

    Instructions for using fs.read method in node.js

    Method description: Read file data according to the specified file descriptor fd and write to the buffer object pointed to by the buffer. It provides a more underlying interface than readFile. This method is not recommended to read files in general, becau
    2025-05-08
  • HTML Frameset Example Code

    HTML Frameset Example Code

    This article introduces a framework that is so simple that it cannot be simpler. Let’s first look at the page composition of this framework. Since it is a purely manual test program, I just made some code in Notepa++, which is very sketchy. But it still c
    2025-05-08
  • Use of textarea in html, common problems and case analysis

    Use of textarea in html, common problems and case analysis

    Textarea tag is an html tag we often use. It mainly allows you to achieve line breaks and other effects when entering longer text. The following quotes one of its basic uses: textarea tags--represents the multiple row input field of HTML form textarea tag
    2025-05-08
  • html5 example code to implement multi-file upload

    html5 example code to implement multi-file upload

    Comment: Uploading multiple files may have been complicated to implement in the past, but since the emergence of html5, it has become very easy. Here is a good example. You can refer to the main use of it.<input> multiple attributes<input type="file" mult
    2025-05-08
  • Introduction to comparison operators in JavaScript&gt;,&lt;,&gt;=,&lt;=

    Introduction to comparison operators in JavaScript&gt;,&lt;,&gt;=,&lt;=

    Like the == operator, the comparison operator (>, <, >=, <=) can convert objects into string or number before comparing -- for number, compare the size of the value; for string, compare the order in which characters appear in the encoding tabl
    2025-05-08