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
  • The fastest and best way to splice HTML strings in javascript

    The fastest and best way to splice HTML strings in javascript

    The first type: add string by string to copy the code code as follows: var arr = ['item 1', 'item 2', 'item 3', ...];list = '';for (var i = 0,l = arr.length; i < l; i++) {
    2025-05-14
  • Share custom functions for JavaScript to determine whether variables are empty

    Share custom functions for JavaScript to determine whether variables are empty

    JavaScript itself does not determine whether a variable is a null value, because variables may be of type string, object, number, boolean, etc. Different types and different judgment methods are also different. So I wrote a function in the article to dete
    2025-05-14
  • js' toLowerCase method usage example

    js' toLowerCase method usage example

    This article describes the usage of the toLowerCase method of js. Share it for your reference. The specific analysis is as follows: Definition and usage: the toLowerCase() method is used to convert a string to lowercase. Syntax: stringObject.toLowerCase()
    2025-05-14
  • Canvas Tutorial (3): Drawing shapes

    Canvas Tutorial (3): Drawing shapes

    网格 the gridbefore we can start drawing, we need to talk about the canvas grid or coordinate space. the html template on
    2025-05-14
  • JavaScript operation Oracle database example

    JavaScript operation Oracle database example

    I am still a little novices in the IT industry and have not been working for a long time. However, with my eagerness to learn and my never-stop learning, I have gained a lot in programming~~ I always thought that if JavaScript wants to interact with the d
    2025-05-14
  • Methods to splice large number of strings in Javascript

    Methods to splice large number of strings in Javascript

    There are string definition methods in heredoc method in php and python: php: The code copy is as follows: $sql=<<
    2025-05-14
  • Some experience summary of email HTML

    Some experience summary of email HTML

    Recently, I have conducted direct mail promotion for the application. During this period, I encountered some minor problems. I will record it here. 1. JavaScript is not allowed in direct mail, which is very depressing, so all interactions can only be achi
    2025-05-14
  • A deep understanding of JavaScript series (50): Function mode (Part 2)

    A deep understanding of JavaScript series (50): Function mode (Part 2)

    Introduction Some of the modes we introduced in this article are called initialization mode and performance mode, which are mainly used for initialization and performance improvement. Some modes have been mentioned before, so here is just a summary. Funct
    2025-05-14
  • Analysis of this keyword usage of object-oriented javascript

    Analysis of this keyword usage of object-oriented javascript

    This article analyzes the usage of this keywords for object-oriented JavaScript. Share it for your reference. The specific analysis is as follows: When a certain attribute needs to be initialized, this keyword can be used in the prototype object. As in th
    2025-05-14
  • JavaScript learning notes JS functions

    JavaScript learning notes JS functions

    The function is a code block wrapped in curly braces. The keyword function is used before: the copy code code is as follows: function functionName(){here is the code to be executed} Function parameter function parameters can be as many parameters, without
    2025-05-14
  • A deep understanding of JavaScript series (47): Object creation mode (Part 1)

    A deep understanding of JavaScript series (47): Object creation mode (Part 1)

    This article mainly introduces the pattern of creating objects. Using various techniques can greatly avoid errors or write very streamlined code. Pattern 1: Namespace namespace can reduce the number of global naming required to avoid naming conflicts or e
    2025-05-14
  • Web Design Tips: 10 Website Usability Design Tips

    Web Design Tips: 10 Website Usability Design Tips

    Article introduction of Wulin.com (www.vevb.com): 10 ease of use tips for websites that everyone can use. 1. Adding alternative text to your logo has two benefits: the screen reader can recognize the meaning of the logo image, and when the image is not lo
    2025-05-14
  • Comparison of several URL encoding methods in Javascript

    Comparison of several URL encoding methods in Javascript

    There are several ways to encode URL strings in javascript: escape(), encodeURI(), and encodeURIComponent(). The roles of these encodings vary. escape() method: Use ISO Latin character set to pair the specified characters
    2025-05-13
  • What is the base tag and its function

    What is the base tag and its function

    <base>The tag specifies a default address or default destination for all links on the page. Normally, the browser will extract the corresponding element from the URL of the current document to fill in the blanks in the relative URL. use<base> Tags can cha
    2025-05-13
  • HTML Tutorial: Small Tags

    HTML Tutorial: Small Tags

    Phrase elements similar to those that not only improve the document structure, but also retain the expected visual style. But it is not very common in daily applications. The first impression is whether Taobao ued neglected on this small issue? about<smal
    2025-05-13