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
  • JavaScript implementation finds the first unrepeatable character in a string

    JavaScript implementation finds the first unrepeatable character in a string

    This algorithm is for reference only. Xiaocai basically does not understand advanced algorithms and can only express it with the simplest ideas. //Find out the first unrepeatable character in the string // firstUniqueChar("vdctdvc"); --> tfun
    2025-04-02
  • Example of self-executing anonymous function application in avascript

    Example of self-executing anonymous function application in avascript

    Self-executed anonymous function format in Javascript: (function(){ //code})(); Explanation: This is quite elegant code (if you see it for the first time, you may be confused :)), the first pair of brackets surrounding the function (function(){}) returns
    2025-04-02
  • html5 guide-4. Use Geolocation to implement positioning function

    html5 guide-4. Use Geolocation to implement positioning function

    What we want to learn today is to use Geolocation to implement positioning functions. We can get the Geolocation object through navigation.geolocation, which provides the following method: getCurrentPosition(callback,errorCallb
    2025-04-02
  • Explain the application and code practical cases of offline cache of manifest files in html5

    Explain the application and code practical cases of offline cache of manifest files in html5

    Offline access is becoming increasingly important for web-based applications. Although all browsers have caching mechanisms, they are not reliable and may not always play the expected role. HTML5 uses the ApplicationCache interface to solve some of the pr
    2025-04-02
  • Implement Windows shutdown effect code

    Implement Windows shutdown effect code

    Effect: When users using Windows systems shut down, the interface that appears only allows users to choose shutdown, log out or cancel the actions, while the programs on the desktop cannot be used, and the screen is grayed out. The Windows shutdown effect
    2025-04-02
  • Summary of the cross-browser compatibility between css and javascript

    Summary of the cross-browser compatibility between css and javascript

    This article summarizes the compatibility issues between CSS and JavaScript in a large number of examples. Share it for your reference. The specific summary is as follows: 1. CSS style compatibility 1. FLOAT clearing float web pages are misaligned on some
    2025-04-02
  • Detailed use of the for attributes of the <label> in html5

    Detailed use of the for attributes of the <label> in html5

    The introduction is <label>a detailed analysis of the usage methods of the for attributes of the tags in html5. </label>This website contains <label>detailed analysis of the for attribute usage methods of tags</label> <label>in html5 in this article</labe
    2025-04-02
  • JavaScript gets the coordinates when the mouse is moved (compatible with IE8, google, and firefox)

    JavaScript gets the coordinates when the mouse is moved (compatible with IE8, google, and firefox)

    JavaScript gets the coordinates of the mouse when moving (compatible with: IE8, Google, Firefox, Opera). The test can be run by copying it directly into an html file. To facilitate everyone's test, an online demonstration was prepared
    2025-04-02
  • What is HTML5?

    What is HTML5?

    1. HTML5 main new features 1. Local audio and video playback; 2. Animation; 3. Geographic information; 4. Hardware acceleration; 5. Local operation (even after Internet connection is interrupted); 6. Local storage; 7. Drag and drop files from the desktop
    2025-04-02
  • Share a Smokescre that implements Flash animation in HTML5 + JavaScript

    Share a Smokescre that implements Flash animation in HTML5 + JavaScript

    An open source project that uses JavaScript/HTML5 to implement Flash functions, Smokescreen, can convert Flash animations to pure HTML5 + JavaScript, so as to implement Flash-style directly in the browser without the Flash plug-in.
    2025-04-02
  • Use HTML5+css3 to create HTML5-verified web form

    Use HTML5+css3 to create HTML5-verified web form

    Today we will take a look at how to create a practical and powerful form that is created using today's most popular technologies HTML5 and css3 and can be client-side validated via HTML5. The following is the relevant content of using HTML5+css3 to cr
    2025-04-02
  • Change the relative URI of HTML summary to absolute URI in C#

    Change the relative URI of HTML summary to absolute URI in C#

    This article comes from the web design enthusiast web development community http://www.html.org.cn, and welcome to visit. The following code is used to change all uri, including href and img in the given html to the absolute path private static string con
    2025-04-02
  • HTML5 reshapes the web world How will it change the internet

    HTML5 reshapes the web world How will it change the internet

    Will HTML5 reshape the web world? A key event in the first half of 2010 attracted the attention of many people, and many of them learned about the existence of HTML5 for the first time because of this incident. Those who first understand HTML5 may be very
    2025-04-02
  • Example of JS application regular expression conversion case

    Example of JS application regular expression conversion case

    Use regular expressions to convert upper and lowercase cases in js. The code is very simple. Look at the code: the following initial letters are capitalized, and other letters are lowercase.<script type="text/javascript"> function replaceReg(reg,str){ str
    2025-04-02
  • Use DD_belatedPNG to enable IE6 to support PNG transparent images

    Use DD_belatedPNG to enable IE6 to support PNG transparent images

    As we all know, IE6 does not support transparent PNG images, and PNG images have effects that other graphics formats cannot achieve in terms of expressiveness in web design. The fatal flaw of IE6 greatly limits the creative performance of web design. Alth
    2025-04-02