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
  • Methods to reference dependent js files in javascript files

    Methods to reference dependent js files in javascript files

    If you need to introduce another dependency js file in a js file, you only need to import the following code in the first js file: Copy the code as follows: var s=document.createElement("script"); s.src ="/script/Map.js";
    2025-02-10
  • A brief discussion on the semicolon of javascript

    A brief discussion on the semicolon of javascript

    The semicolon of javascript represents the ending character of a statement, but since javascript has the automatic semicolon insertion rule, it is a very easy thing to make people confused. In general, a newline will produce a semicolon, but the actual si
    2025-02-10
  • HTML5 web page recording and uploading to the server supports PC, Android, and IOS WeChat function

    HTML5 web page recording and uploading to the server supports PC, Android, and IOS WeChat function

    When preparing to make a web-based chat interface, you should have emoticons, pictures, and uploaded files. Forget video, voice is still required. This article records online recording and uploading to the server using Recorder on GitHub on a web page. Th
    2025-02-10
  • Sample code for dynamically displaying time changes on a javascript page

    Sample code for dynamically displaying time changes on a javascript page

    Copy the code code as follows:<html><head><title></title><script> function getDateDemo(){ /* //声明时间 var date = new Date(); alert(date);//
    2025-02-10
  • Several issues that must be paid attention to and mastered by web design

    Several issues that must be paid attention to and mastered by web design

    1. Color matching problem. It is best not to have more than 3 colors on a web page. The visual effect is chaotic, the color is soft and the contrast is strong. The colors cannot be used on general websites, and fashionable websites are OK. Generally, colo
    2025-02-10
  • CSS layout: Adaptive width of three columns floating middle columns

    CSS layout: Adaptive width of three columns floating middle columns

    Using floating positioning, the fixed width and adaptability from one column to multiple columns can be basically completed simply, including the fixed width of three columns. Here we have put forward a new requirement, hoping to have a three-column layou
    2025-02-10
  • When the input length is reached, the form will automatically switch focus

    When the input length is reached, the form will automatically switch focus

    Sometimes you will encounter form fields similar to those above. We can limit the input length for each field, and automatically switch focus when the input length is reached to enhance the ease of use of the form Copy code code as follows:<form id="myFor
    2025-02-10
  • Detailed web storage of html5 local storage

    Detailed web storage of html5 local storage

    Before the appearance of HTML5, if the developer needs to store a small amount of data on the client, it can only be achieved through cookies, but there are several insufficiency of cookies: • The size of the cookies under each domain name is limited to 4
    2025-02-10
  • Discussion on JavaScript Objects

    Discussion on JavaScript Objects

    Due to the flexibility of JavaScript, everyone can write code according to their own habits. There are functional programming methods and there are also a wider range of object literals used now. Due to the emergence of object-oriented, the function progr
    2025-02-10
  • The difference between em and strong

    The difference between em and strong

    The difference between em and strong can be discussed from three levels. First look at the explanation in HTML 4.01: EM: Indicates emphasis. STRONG: Indicates stronger emphasis.
    2025-02-10
  • 8 highly anticipated features of CSS 3

    8 highly anticipated features of CSS 3

    CSS3 is still far away, and it is still just around the corner. This is not a technical question, but when can people completely abandon old browsers that do not meet W3C standards. CSS3 is highly anticipated. The CSS Tricks website conducted a voting sur
    2025-02-10
  • js operation input box prompts information and responds to mouse events

    js operation input box prompts information and responds to mouse events

    We often encounter some input boxes, such as the input boxes for registering websites, which have default prompt values. When the mouse focus is obtained, the default value is deleted. When the user does not enter the focus, the default prompt value is re
    2025-02-10
  • IE browser uses js to export web pages to excel and print

    IE browser uses js to export web pages to excel and print

    In some small projects that are not very demanding, you can use some technologies that are not general and not new but can really implement functions well. In this way, the system is not very complicated to display and can be easily maintained. Create a n
    2025-02-10
  • In-depth understanding of prototype chains in javascript

    In-depth understanding of prototype chains in javascript

    To figure out the prototype chain, you must first figure out the function type. There is no concept of classes in JavaScript, they are all functions, so it is a functional programming language. A class has a very important feature, which is that it can cr
    2025-02-10
  • Share examples of implementing ajax encapsulation by yourself

    Share examples of implementing ajax encapsulation by yourself

    Copy the code as follows://javascript Object: ajax Object//Created By RexLeefunction Ajax(url,data){this.url=url;this.data=data;this.bro
    2025-02-10