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
  • HTML Tutorial: Abbreviation of DOCTYPE

    HTML Tutorial: Abbreviation of DOCTYPE

    When writing HTML code, you have to write DOCTYPE on the first line, and DOCTYPE is usually very long and people are too lazy to remember, so they basically copy what they have written before. But today I learned abbreviation of DOCTYPE, if your DOCTYPE i
    2025-06-11
  • Implementation of event trigger introduction of javascript

    Implementation of event trigger introduction of javascript

    Event triggers can be well understood literally, and are used to trigger events, but some friends who have not used them may be confused. Are events usually triggered by the actual operations of users on the page? This view is not completely correct, beca
    2025-06-11
  • Html comment symbols for marking text comments in Html

    Html comment symbols for marking text comments in Html

    HTML comments, we often make some HTML comments next to some codes, which have many benefits, such as: easy to find, easy to compare, convenient to other programmers in the project team to understand your code, and it can also facilitate your understandin
    2025-06-11
  • The operation implementation of COOkie based on javascript can only be clicked once

    The operation implementation of COOkie based on javascript can only be clicked once

    I know that many people actually need this function when developing a website, which is to control users to keep clicking on the top! So I will briefly write about the operation of COOkie based on javascript! Copy the code as follows: //Set cookiefunction
    2025-06-11
  • Overview and differences between html inline elements and html block-level elements

    Overview and differences between html inline elements and html block-level elements

    Block-level element characteristics: • Always occupy one row, manifested as starting with another row, and the following elements must also be displayed on another row; • Width, height, padding and margin can all be controlled; Inline element characterist
    2025-06-10
  • HTML elementary tutorial form

    HTML elementary tutorial form

    Forms can be used to send data on web pages, and are often used in contact forms - users enter information and then send it to email. The form itself is useless. This requires a program to process the data in the input form. This is also beyond the scope
    2025-06-10
  • JavaScript up and down arrow keys to control the selection and highlighting of table rows

    JavaScript up and down arrow keys to control the selection and highlighting of table rows

    This article describes the method of controlling the selection and highlighting of table rows by javascript up and down arrow keys. Share it for your reference. The specific implementation method is as follows: <style>tr.highlight { background:#08246B; co
    2025-06-10
  • How to implement the prompt box in the lower right corner of js

    How to implement the prompt box in the lower right corner of js

    This article example describes how to implement the prompt box in the lower right corner of js. Share it for your reference. The specific implementation method is as follows: implement the Jquery plug-in (popup.js) copy code code in the prompt box in the
    2025-06-10
  • js implements the new title bar message flashing prompt effect

    js implements the new title bar message flashing prompt effect

    The company's project uses the effect of this new message prompt, which is mainly used to prompt users to have new messages. The specific implementation code is as follows: var newMessageRemind = { _step: 0, _title: document.title, _timer: null, /
    2025-06-10
  • Introduction to closures in JavaScript

    Introduction to closures in JavaScript

    The so-called closure should refer to: an internal function that reads variables other than the current function, that is, the context environment at which it was created. Copy the code as follows: function hello(){var char = "hello,world";funct
    2025-06-10
  • Introduction to JavaScript Design Pattern Builder Pattern

    Introduction to JavaScript Design Pattern Builder Pattern

    Builder Pattern Description 1. Separate the construction of a complex object from its representation so that the same creation process can have different representations. This is called Builder Pattern. 2. Description in object-oriented language, main rol
    2025-06-10
  • JavaScript to detect the scaling status of the browser

    JavaScript to detect the scaling status of the browser

    The scaling mentioned here does not refer to the browser size scaling, but rather to the percentage scaling of the browser web content (press the Ctrl and the + sign keys or the - sign keys). There are many ways to detect this kind of scaling. QQ space us
    2025-06-10
  • JavaScript does not use prototype and new to implement inheritance mechanism

    JavaScript does not use prototype and new to implement inheritance mechanism

    This method is not original by the author. I just summarized it based on the predecessors and came up with a concise and practical JavaScript inheritance method. Traditional JavaScript inherits the prototype chain based on the prototype chain and requires
    2025-06-10
  • Some reasons why web designers learn to write code

    Some reasons why web designers learn to write code

    Article introduction of Wulin.com (www.vevb.com): What are the benefits of web designers learning programming knowledge? Usually, after completing a web design, the designer's ignorance is revealed and criticized. They left the heavy work of creating
    2025-06-10
  • js refresh the unchanged tree menu through cookies

    js refresh the unchanged tree menu through cookies

    Set the cookie to save the status of the tree menu, and reread the cookie when the page loads. The HTML structure of the menu:<div><ul><li> <a href="#" id="treemenu_a_1">Level 1 menu</a>
    2025-06-10