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
  • Solution to HTML5's Chinese garbled problem under IE10 and Firefox

    Solution to HTML5's Chinese garbled problem under IE10 and Firefox

    Comment: When writing HTML5 code, I found that Chinese garbled code was displayed. I thought it was incompatible with IE10, and then changed to Firefox. Who knew it wouldn't work. After repeated research and testing, I found a good solution. Friends w
    2025-04-26
  • JS judges the three forms of variable initialization and recommended forms

    JS judges the three forms of variable initialization and recommended forms

    <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script type="text/javascript"> //js判断变量初始化有
    2025-04-26
  • Detailed explanation of this in javascript

    Detailed explanation of this in javascript

    This object has always been a pitfall in js, and it is difficult to judge what it points to. We often make this kind of mistakes due to our experience from C++ or python. Next, let’s talk about the ownership of this object in detail. rule1: The global env
    2025-04-26
  • Calling search engines on the page to call Baidu as an example

    Calling search engines on the page to call Baidu as an example

    Today I suddenly thought that it must be cool to call powerful search engines like Google and Baidu on my page. So I searched the information online, but I didn't expect that there were only a few lines of code. The following is a code segment that ca
    2025-04-26
  • A simple HTTP static file server written using nodejs and Python

    A simple HTTP static file server written using nodejs and Python

    During the daily development process, we often need to modify some static files placed on the CDN (such as JavaScript, CSS, HTML files, etc.). In this process, we hope to have a way to map the directory of the online CDN to a directory on the local hard d
    2025-04-26
  • Basic concepts and techniques used in web development

    Basic concepts and techniques used in web development

    Today, this article introduces some basic concepts and technologies used in web development to beginners. There are 26 items in total from A to Z, each corresponding to a concept or technology. A — AJAXAJAX Full name Asynchronous JavaScript and XML (Async
    2025-04-26
  • js keyboard event keyCode

    js keyboard event keyCode

    document.onkeyup = function(event){ var event = event || window.event; alert(event.keyCode); }
    2025-04-26
  • Introduction to the application of HTML tag superscript sup and subscript subscript

    Introduction to the application of HTML tag superscript sup and subscript subscript

    HTML tags: Superscripts are superscripted in HTML language, <sup>and tags can define superscript text. For example: Required to display: 2 oxygen ions, and in the html code, it needs to be written as: 2O <sup>2-</sup> . 2O2- The content contained in <sup>
    2025-04-26
  • An example discussion on parameter passing problem in javascript function

    An example discussion on parameter passing problem in javascript function

    I believe that every student who is new to javascript will be very confused when passing function parameters. The reason is that its syntax is too weird. If you define a function, such as function test(name,msg){return 'hello' + name +msg;}, then
    2025-04-26
  • js implements ArrayList function with example code

    js implements ArrayList function with example code

    1.ArrayList method summary Construct method summary ArrayList() Constructs an empty list with an initial capacity of 10. ArrayList(Collection< extends E> c) Constructs a list of elements containing the specified collection, these elements are
    2025-04-26
  • What is HTML5 What is HTML5? Introduction to HTML5

    What is HTML5 What is HTML5? Introduction to HTML5

    Comment: As the official release of Windows 8 is close to the point, news about Win8, IE10, and HTML5 has gradually increased recently. Many friends are familiar with the Win8 system and IE10 browser, but many friends are not clear about what HTML5 is. Ma
    2025-04-26
  • Example of using hasOwnProperty method to retrieve ajax response object in Js

    Example of using hasOwnProperty method to retrieve ajax response object in Js

    Students who often use Baidu search will not ignore the drop-down index of the input box. It is so convenient. However, the unique conditions make this asynchronous technology face some tests. The highly concurrent server request urges their front-end sie
    2025-04-26
  • Instructions for using console.error method in node.js

    Instructions for using console.error method in node.js

    Method Description: This method is the same as console.log(), but outputs to the standard error stream. Syntax: Copy the code code as follows: console.error([data], [...]) Receive parameters: console.log accepts several parameters. If there is only one pa
    2025-04-26
  • Convert FLASH into JS in XHTML code for call

    Convert FLASH into JS in XHTML code for call

    Article introduction of Wulin.com (www.vevb.com): A little usage of flash in xhtml. 1. The traditional FLASH writing method cannot pass the test 2. The traditional FLASH writing method has dotted borders in IE7 to affect vision 3. The traditional FLASH wr
    2025-04-26
  • Mobile HTML5 file upload

    Mobile HTML5 file upload

    Most of the files uploaded by PCs are plug-ins, and it doesn’t matter if you introduce flash, but if you use various redundant plug-ins on the mobile side, you will probably be sprayed to death. The project needs to upload images. Since H5 already has rel
    2025-04-26