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
  • Comprehensive understanding of line-height and vertical-align

    Comprehensive understanding of line-height and vertical-align

    The previous words line-height, font-size, and vertical-align are key attributes for setting the layout of elements within the line. These three attributes are interdependent relationships, and changing the distance between rows and setting vertical align
    2025-05-20
  • Do you know what the web page file with the suffix is ​​.shtml?

    Do you know what the web page file with the suffix is ​​.shtml?

    Each web page or web page has its own fixed suffix name. Different suffix names correspond to different file formats and different rules, protocols, and usages. The most common suffix names of web pages are .html and .htm, but these are only the two most
    2025-05-20
  • Comparative analysis of usage of call, apply, bind in javascript

    Comparative analysis of usage of call, apply, bind in javascript

    The usage of the three functions call, apply, and bind is a knowledge point that cannot be overcome by learning the language of JavaScript. Let me summarize the usage of the three of them and the common application scenarios. First, look at the call funct
    2025-05-20
  • Nodejs detailed explanation about gzip/deflate compression

    Nodejs detailed explanation about gzip/deflate compression

    0x01. Regarding the writing of http, when receiving http requests, garbled code appears. Later, I found that gzip is not decompressed. Regarding gzip/deflate compression, there are methods for putting in pipe compression and non-pipe compression. 0x02. Th
    2025-05-20
  • Custom html tags replace new elements in html5

    Custom html tags replace new elements in html5

    Comment: New elements header and footer have been added to html 5. After testing, IE found that IE cannot parse new elements added to html 5. The code is as follows:<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN >
    2025-05-20
  • Share example of node.js operation mongoDB database

    Share example of node.js operation mongoDB database

    The code for connecting to the database is as follows: var mongo=require("mongodb");var host="localhost";var port=mongo.Connection.DEFAULT_PORT;var server=new mo
    2025-05-20
  • Two ways to clear form data by js (traversal + reset)

    Two ways to clear form data by js (traversal + reset)

    Method 1: traverse page elements/*Clear FORM form content id: Form ID*/ function ClearForm(id) {var objId = document.getElementById(id);if (objId == undefined)
    2025-05-20
  • Share the function of complete replacement of js strings

    Share the function of complete replacement of js strings

    In the past few days, the function of completely replacing js strings has been used. I don’t say anything, just upload the code and need to copy it away: the code code is as follows:<!DOCTYPE html><html><head><meta charset="utf-8" /><title></title>
    2025-05-20
  • Example analysis of JS long integer precision problem

    Example analysis of JS long integer precision problem

    This article analyzes a JS long integer accuracy problem. Share it for your reference. The specific analysis is as follows: Problem description: There is a script function in the background, which can write scripts to call Java code dynamically and copy t
    2025-05-20
  • JavaScript to call functions through strings

    JavaScript to call functions through strings

    This article describes the implementation method of JavaScript calling functions through strings. Share it for your reference. The specific analysis is as follows: In JavaScript, we can call functions based on the string of function names, so that we can
    2025-05-20
  • Implementation method of html insert link

    Implementation method of html insert link

    Each web page already has an address, identified by URL(). Usually when creating links inside the website, the relative address is used to copy the content to the clipboard.
    2025-05-20
  • HTML5 placeholder (blank prompt) attribute introduction

    HTML5 placeholder (blank prompt) attribute introduction

    Comment: The browser has introduced many HTML5 features. One of my favorites is to introduce the placeholder attribute for the input element. The placeholder attribute displays guided text until the input box obtains the input focus. When the user inputs
    2025-05-20
  • Method overloading examples in JavaScript

    Method overloading examples in JavaScript

    It is indeed very convenient to use the method reload in .NET. Can I also do it in Javascript? In Javasciprt, there is no function of overloading methods. In the past, many people might have done it by directly passing the parameters less, and then decide
    2025-05-20
  • We're pushing IE6 to death

    We're pushing IE6 to death

    In fact, we think about every day when IE6 will really die. However, since its release in 2001, IE6 has dominated the domestic browser market and still accounts for more than 50% of the domestic browser market share. But I think, whether you are an ordina
    2025-05-20
  • Web page html special symbol html special character comparison table

    Web page html special symbol html special character comparison table

    Special symbol named entity decimal encoding Special symbol named entity decimal encoding Α
    2025-05-20