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
  • Example of method to unescape HTML fragments in AngularJS

    Example of method to unescape HTML fragments in AngularJS

    Today I try to use Rails as the backend to provide JSON format data. AngularJS is used to process JSON data on the front end. When AngularJS gets a piece of HTML text. If you use data-ng-bind directly, it is escaped. Use data
    2025-05-17
  • A brief discussion on CDATA in XHTML

    A brief discussion on CDATA in XHTML

    Recently, with the advent of the XHTML (Extensible HTML) standard,<script/>标签也经历了一些改变。该标签不再用language特性,而用type特性声明内嵌代码或要加入的外部文件的mime类型,JavaScript的mime类型是"text/jav
    2025-05-17
  • NodeJs basic syntax and types

    NodeJs basic syntax and types

    I wrote this before. I want to check the types of Node today. I want to summarize it. I saw an article on Google, but the original link is gone. I pulled this article out in the snapshot. If the original author has any questions, please contact me! This a
    2025-05-17
  • What is software 404 and 404 errors What is the difference between them

    What is software 404 and 404 errors What is the difference between them

    First of all, what are 404 and soft 404 404: Simply put, when the user enters a non-existent page link, the returned page will be represented by a 404 code. Soft 404: Soft 404 is when the page visited by the user does not exist, it returns not a 404 error
    2025-05-17
  • The fix method of Date in IE6-8 does not support toISOString

    The fix method of Date in IE6-8 does not support toISOString

    The Date.prototype.toISOString method was added in ES5, but it was not in the ES3 document. The following method is not supported in IE6/7/8. You can fix the following code copy code as follows: if (!Date.prototype.toISOString)
    2025-05-17
  • 10 performance optimization tips for nodejs

    10 performance optimization tips for nodejs

    Here are 10 performance rules we follow when using Node.js: 1. Avoid using synchronous code in design, Node.js is single-threaded. To allow a single thread to handle many concurrent requests, you can never let the thread wait for blocking, synchronous, or
    2025-05-17
  • Tips for detecting whether a function is a JavaScript native function

    Tips for detecting whether a function is a JavaScript native function

    In my development work, I often encounter situations where I need to determine whether a function is a JavaScript native function. Sometimes this is a very necessary task. You need to know whether this function is provided by the browser itself, or is enc
    2025-05-17
  • asp.net+js implements the amount format

    asp.net+js implements the amount format

    According to user needs, the amount should be formatted when entering, that is, every three digits are separated by commas and two decimal places are retained. Considering the user's experience, the amount is formatted with JS, the front desk code is
    2025-05-17
  • Introduction to the use of HTML5 script elements async and defer asynchronous loading

    Introduction to the use of HTML5 script elements async and defer asynchronous loading

    Comment: Asynchronous loading can be understood as non-blocking concurrent processing. In the past, we used various JavaScript techniques to do this. Now WebKit implements the async async attribute of the SCRIPT tag for HTML5. Interested friends can learn
    2025-05-17
  • Some common commands for obtaining current information by javascript

    Some common commands for obtaining current information by javascript

    The content of this article is very simple. Let me summarize some common commands for javascript to obtain current information console.info("document.URL=" + document.URL); console.info("document.location.hre
    2025-05-17
  • Instructions for using http.request.end method in node.js

    Instructions for using http.request.end method in node.js

    Method description: Complete the request to send. If any part of the request body is not sent, it will be refreshed to the stream. If a data value is specified, after executing request.end(), a request.write(data, encoding) syntax will be executed: copy t
    2025-05-17
  • Detailed explanation of iterators and generators in JavaScript

    Detailed explanation of iterators and generators in JavaScript

    Handling each item in a collection is a very common operation. JavaScript provides many ways to iterate over a collection, from simple for and for each loop to map(), filter() and array comprehensions (array derivation). In JavaScript
    2025-05-17
  • 9 tips for speeding up weight loss on web pages

    9 tips for speeding up weight loss on web pages

    For website designers, the access speed of the website is even more important than the content. Even if the website content is excellent, if the access speed is very slow, I believe that many people will not be patient. The following are some website weig
    2025-05-17
  • html meta viewport attribute description

    html meta viewport attribute description

    What is Viewport Mobile browser puts the page in a virtual window (viewport). Usually this virtual window (viewport) is wider than the screen, so that you don’t have to squeeze each web page into a very small window (this will destroy the layout of web pa
    2025-05-17
  • Dynamically create an html DOM element through JS and display it

    Dynamically create an html DOM element through JS and display it

    Recently, due to work needs, after clicking on an element, a DOM element is dynamically created and displayed. Therefore, some related JS functions were written and recorded here to make a note: /**//* The relevant functions for dynamically creating DOM e
    2025-05-17