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
  • Share a JavaScript debugging tip

    Share a JavaScript debugging tip

    Without alert, use console.log() to copy the code as follows:<!DOCTYPE html><html><head><script type="text/javascript"> function showLog(message){
    2025-05-06
  • Hide html elements through display or visibility

    Hide html elements through display or visibility

    Sometimes we need to control whether the HTML elements in the web page are displayed or hidden according to certain conditions, which can be achieved through display or visibility. Use the following example to understand the difference between display and
    2025-05-06
  • js monitoring IE Firefox browser close, refresh, fallback, and move forward events

    js monitoring IE Firefox browser close, refresh, fallback, and move forward events

    <html><head><title>test</title><script language ="javaScript"> <!--关闭浏览器 --> var flag = true;
    2025-05-06
  • Analysis chart of global browsers in 2012: Chrome continues to erode Firefox

    Analysis chart of global browsers in 2012: Chrome continues to erode Firefox

    Article introduction of Wulin.com (www.vevb.com): The global browser market is surging, and foreign survey agencies released analysis charts of global browsers in May. On the picture, you can see that the Firefox desktop browser has dropped to 20%, and Ch
    2025-05-06
  • DOCTYPE Document Type Statement (must read by web enthusiasts)

    DOCTYPE Document Type Statement (must read by web enthusiasts)

    Document type declaration is at the top of each page you need the document declaration. Yes, it must. If you do not specify a document type, your HTML is not a legitimate HTML, and most browsers will use quirks mode to process the page, which means that t
    2025-05-06
  • Thinkphp table name case tips

    Thinkphp table name case tips

    We have a table auth_group_access, so how to use it? When using the M method, the following method can be used for the underlined table name. M('AuthGroupAccess'); Corresponding sql statement SQL: SHOW COLUMNS FROM `auth_grou
    2025-05-06
  • HTML5 tutorial: Basic writing of HTML5

    HTML5 tutorial: Basic writing of HTML5

    Article introduction of Wulin.com (www.vevb.com): Comparing the specifications of XHTML 1.0 Transitional, html5 basically does not have the strict requirements of XHTML 1.0 Transitional, and simplifies a lot of things. Compare XHTML 1.0 Transi
    2025-05-06
  • Introduction to variable definition and storage in JavaScript

    Introduction to variable definition and storage in JavaScript

    Unlike programming languages ​​such as C and Java, variables in JavaScript are of no type, and all variable definitions use keywords var: the code copy is as follows: var a;var m, n;var x=42, y="test"; If the variable is not assigned to the vari
    2025-05-06
  • How to get time by JS

    How to get time by JS

    This article describes the method of obtaining time by JS. Share it for your reference. The specific implementation method is as follows: Copy the code code as follows:<html xmlns="http://www.w3.org/1999/xhtml"><head><title></title>
    2025-05-06
  • html page uses include to import the php file and then a blank line appears after importing it into the html file.

    html page uses include to import the php file and then a blank line appears after importing it into the html file.

    The method found online is useful. The footer and header files introduced with include have an extra blank line on it, which greatly affects the beauty. It's fine to put the imported files directly. Later I thought that I had been using Gb2312 encodin
    2025-05-06
  • How to hide the separation line between table borders/cells

    How to hide the separation line between table borders/cells

    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-06
  • Practical framework (iframe) operation code

    Practical framework (iframe) operation code

    Common code: <iframe src="http://www.baidu.com" marginwidth="0" marginheight="0"scrolling="no" frameborder="0"width="350">
    2025-05-06
  • How to determine whether to log in or not and determine the page jump

    How to determine whether to log in or not and determine the page jump

    This article describes how to judge whether to log in or not and determine whether to jump to the page. Share it for your reference. The details are as follows: Use session storage to determine whether the user is logged in, thereby determining which page
    2025-05-06
  • Use iframe skills to obtain visitors' QQ implementation ideas and sample code

    Use iframe skills to obtain visitors' QQ implementation ideas and sample code

    When I was working today, a friend who added a temporary friend asked me how to use the web page to get the visitor's QQ. I haven't come into contact with it before and feel very curious, but my mind is very excited at work and I can turn quickly.
    2025-05-06
  • Instructions for using path.resolve method in node.js

    Instructions for using path.resolve method in node.js

    Method description: Parses the character at the parameter to position into an absolute path. Syntax: Copy the code as follows: path.resolve([from ...], to) Since this method belongs to the path module, you need to introduce the path module before use (var
    2025-05-06