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 parameters in Url

    JavaScript gets parameters in Url

    Recently developed projects need to use JavaScript to read the values ​​of parameters in the Url strings by searching for information and experimenting. Finally, the script is successful: Copy the code as follows: <script type="text/javascript">function G
    2025-05-20
  • Some advanced applications of Javascript drag and drop (analyzing the code line by line, allowing you to easily drag and drop principles)

    Some advanced applications of Javascript drag and drop (analyzing the code line by line, allowing you to easily drag and drop principles)

    Let's see what problems will occur when the previous dragging is there when something around it? There will be no problem in advanced browsers. Let's test it in IE7 and the problem will come out. As shown in the picture, we can clearly see that th
    2025-05-20
  • Implementation method of tap event preventing bubbles in zepto.js

    Implementation method of tap event preventing bubbles in zepto.js

    This article describes the implementation method of tap events in zepto.js to prevent bubbles. Share it for your reference. The details are as follows: I am recently working on a mobile website. I originally wanted to use jQuery Mobile, but the file is to
    2025-05-20
  • HTML table marking tutorial (44): Table header tag&amp;lt;THEAD&amp;gt;

    HTML table marking tutorial (44): Table header tag&amp;lt;THEAD&amp;gt;

    In order to clearly distinguish the table structure in the source code, the html language stipulates<thead> ,<tbody> ,<tfoot> 3 marks, corresponding to the table head, main body and end of the table respectively.<thead> Tags are used to define the style a
    2025-05-20
  • Summary of three ways to create new elements

    Summary of three ways to create new elements

    The first type: by text/HTMLvar txt1=<h1> Text.</h1> ;The second type: through jQueryvar txt2=$(<h2></h2> ).text(Text.); The third type: through JavaScript/DOMvar txt3=docume
    2025-05-20
  • JS implementation of photo wall function example

    JS implementation of photo wall function example

    This article describes the method of implementing the function of photo wall by js. Share it for your reference. The specific implementation method is as follows: Copy the code code as follows:<!doctype html>
    2025-05-20
  • JavaScript settings to get and set properties

    JavaScript settings to get and set properties

    getAttribute This method is used to obtain the attributes of the element. The call method is as follows: The copy code is as follows: object.getAttribute(attribute) Different from some methods introduced earlier, the getAttribute method does not belong to
    2025-05-20
  • Summary of practical experience in html knowledge points

    Summary of practical experience in html knowledge points

    1. The table label is a table, tr is a row, td is a cell, cellpacing is the distance between the cell and the cell cellpadding is the margin, caption is the title of the table colspan is the merge column, rowspan is the parallel, and table tbody is the de
    2025-05-20
  • Prevent login page from appearing in frame js code

    Prevent login page from appearing in frame js code

    When using frame page nesting development, when the server is restarted, the login page will appear in the frame page. Therefore, you need to use js to determine the current address information in the login page, and then jump to a separate page of login.
    2025-05-20
  • Detailed explanation of AngularJS syntax

    Detailed explanation of AngularJS syntax

    The basic operating process of templates and data is as follows: the user requests the application start page, the user's browser initiates an http connection to the server, and then loads the index.html page. This page contains the template angular l
    2025-05-20
  • Use HTML web page example to illustrate the meaning of the head area code

    Use HTML web page example to illustrate the meaning of the head area code

    Give an example to be familiar with the meaning of the head information of a web page<!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//ENhttp://www.w3.org/TR/html4/loose.dtd>
    2025-05-20
  • Convert URL addresses in text into JavaScript and PHP custom functions that can be clicked on links

    Convert URL addresses in text into JavaScript and PHP custom functions that can be clicked on links

    When writing a mini program these days, you need to use regular expressions to match the URL address in the text entered by the user, and then replace the URL address with a link that you can click on. I think this is what you often use in verification pr
    2025-05-20
  • Take a look at JavaScript pre-explanation

    Take a look at JavaScript pre-explanation

    Pre-explanation with var keyword let us first look at the result of the code execution: the copy code code is as follows: alert(n);//The undefinedvar n = 10 pops up; the result of the pops up is undefined, why is it not 10? Let's look at the following
    2025-05-20
  • Implementation code of html floating prompt box function

    Implementation code of html floating prompt box function

    General form prompts will always occupy the position of the form, making the form longer or wider, affecting the layout, but this problem can be solved if the prompt box floats next to the required content like a dialog box. HTML and styles make a form fi
    2025-05-20
  • Nodejs to read Chinese file encoding issues, send emails and timing tasks examples

    Nodejs to read Chinese file encoding issues, send emails and timing tasks examples

    I have been trying a lot of time about nodejs reading Chinese files. In the end, none of them apply to me. Fortunately, I solved it. The following three knowledge points are all extracted from the project. To run scripts separately, you need to install th
    2025-05-20