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
  • Detailed example of using css beautify html form control (form beautification)

    Detailed example of using css beautify html form control (form beautification)

    1. Basic syntax structure of html submit and bottom buttons 1. html submit button set type=submit in the input tag to set this form control as a button. Submit button code: Copy code
    2025-05-04
  • Tips to disable IE8 and IE9 compatible view modes with HTML

    Tips to disable IE8 and IE9 compatible view modes with HTML

    Starting from IE 8, IE has added compatibility mode, and when enabled, it will be rendered in a lower version of IE. But sometimes this will cause problems with the web page, so we usually add the following code to html to make IE use a fixed rendering mo
    2025-05-04
  • Instructions for using fs.rmdirSync method in node.js

    Instructions for using fs.rmdirSync method in node.js

    Method description: Synchronous version of rmdir(). If the return value is null or undefined, it means that the deletion is successful, otherwise an exception will be thrown. Syntax: The code copy is as follows: fs.rmdirSync(path) Since this method belong
    2025-05-04
  • Set as homepage and favorite website code (Firefox, IE6.ie7.ie8.ie9 both work)

    Set as homepage and favorite website code (Firefox, IE6.ie7.ie8.ie9 both work)

    Article introduction of Wulin.com (www.vevb.com): Favorite website code that supports Firefox, IE6.ie7.ie8.ie9. The following is the detailed code <script>var HomepageFavorite = {//设为首页Homepage: function () {if
    2025-05-04
  • Cookie operation example in JavaScript

    Cookie operation example in JavaScript

    JavaScript Cookie Cookie Object: Cookie is a type of user data information (Cookie data) stored in the Cookies folder of the client's hard drive in the form of a file. Cookie files are created by the visited Web site to save the client and Web site fo
    2025-05-04
  • Initial Nodejs

    Initial Nodejs

    The basic concept Node.js, or Node, is a platform that allows JavaScript to run on the server side. It can be said that Node.js pioneered the modular development of JavaScript. The early JavaScript requirements were very simple, and they were basically wr
    2025-05-04
  • Instructions for using fs.symlinkSync method in node.js

    Instructions for using fs.symlinkSync method in node.js

    Method description: Synchronous version of symlink(). Used to create symbolic links. Syntax: The code copy is as follows: fs.symlinkSync(srcpath, dstpath, [type]) Since this method belongs to the fs module, it is necessary to introduce the fs module (var
    2025-05-04
  • Guide to use the getDay method of Date object in javascript

    Guide to use the getDay method of Date object in javascript

    The Date object has a getDay method, which returns the day of the week in a specific date based on the local time. The return value is from 0~6, corresponding to Sunday~Saturday getDay0123456 Days of the week, Sunday, Monday, Tuesday, Wednesday, Thursday,
    2025-05-04
  • Structure and semantics of HTML5 (3): Semantic block-level elements

    Structure and semantics of HTML5 (3): Semantic block-level elements

    Comment: HTML5 also adds some purely semantic block-level elements: aside figure dialog I have been using the first two elements in my articles and books. The third element I don't use often, it is mainly used in written text. aside aside element repr
    2025-05-04
  • Node.js (install, start, test)

    Node.js (install, start, test)

    Concept Node.js is a platform built on Chrome javascript runtime, which can easily build fast, scalable web applications. Node.js uses event-driven, non-blocking I/O mode, which makes it lighter, efficient and perfect for running on distributed devices.
    2025-05-04
  • Issues that should be paid attention to when writing self-closing XHTML tags

    Issues that should be paid attention to when writing self-closing XHTML tags

    The img tag in XHTML should be written like this:<img alt="src=" /> , this writing method is called self-closing, which is a completely legal way to write in XML. If you are familiar with XML-related development and may be used to this writing method, thi
    2025-05-04
  • Introduction to the use of select optgroup tags in html

    Introduction to the use of select optgroup tags in html

    It is occasionally necessary to group the select content. In the past, they were controlled by programs. Today, I found that there is an optgroup property in select that can be used. It is tested to be suitable for browsers such as firefox and ie. The onl
    2025-05-04
  • Collection of commonly used tools for WEB front-end designers

    Collection of commonly used tools for WEB front-end designers

    Below are some commonly used plug-ins, tools, software, etc. for front-end development that I have compiled and collected. It is equivalent to making a small backup of the computer. As for how to use it, I will summarize it in the future. At present, it i
    2025-05-04
  • Nodejs study notes: Stream module

    Nodejs study notes: Stream module

    1. The opening analysis flow is an abstract interface implemented by many objects in Node. For example, a request to an HTTP server is a stream, and stdout is also a stream. Streams are readable, writable or both. The first contact with Stream started wit
    2025-05-04
  • Pure JS implements adaptive size of images in div (tested, compatible with Firefox)

    Pure JS implements adaptive size of images in div (tested, compatible with Firefox)

    The function implemented by this code is that when a div we usually encounter contains img, when the img image size is unknown and the div size is unknown, the image adaptively size is not processed when the image itself is smaller than the div container
    2025-05-04