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 impact of Ya Black Font on IE display web page layout

    The impact of Ya Black Font on IE display web page layout

    In May, Microsoft officially provided downloads of Ya Black fonts available under Windows XP. Yahei Font is a nearly perfect font that solves the problem that Song font small text cannot be recognized, especially for LCD displays (LCDs). After turning on
    2025-02-12
  • Code to convert Chinese standard time into standard format

    Code to convert Chinese standard time into standard format

    Thu Aug 22 2013 15:12:00 GMT+0800 (China Standard Time) The code of conversion and copying is as follows: function formatTen(num) { return num > 9 ? (num + "") : ("0" + n
    2025-02-12
  • HTML5 http polling and Websocket principles

    HTML5 http polling and Websocket principles

    1. HTTP polling is a common communication method based on Ajax (http) between the Web client and the server, which is divided into short connection and long polling. Short connection: Every time the client and server perform an HTTP operation, a connectio
    2025-02-12
  • JS code to verify whether the email format is correct

    JS code to verify whether the email format is correct

    Copy the code as follows: /* *Verify whether the email format is correct*Parameter strEmail, the email address that needs to be verified*/ function chkEmail(strEmail) { if (!/^/w+([-+.]/w+)*@/w+( [-.]/w+)*/./w+([
    2025-02-12
  • How to change JS's alert style like background color

    How to change JS's alert style like background color

    Copy code code as follows: Window.alert = Function (Str) {var shield = document.createElement ("div"); shield.id = "shield"; shield. Style.
    2025-02-12
  • How to turn off the autocomplete function in HTML5 form

    How to turn off the autocomplete function in HTML5 form

    What is HTML5's form autocomplete function? First of all, there is a new attribute autocomplete in HTML5. The autocomplete attribute specifies whether the form should enable autocomplete. It autocomplete allows the browser to predict the input to the
    2025-02-12
  • JavaScript method and custom formatting function examples

    JavaScript method and custom formatting function examples

    Many times, we can use the built-in method of Date object in JavaScript to format it, such as: copy the code as follows: var d = new Date();console.log(d); // Output: Mon Nov 04 2013 21:50 :33 GMT+0
    2025-02-12
  • Use PhoneGap to create a contact implementation method

    Use PhoneGap to create a contact implementation method

    Examples as: below:<!DOCTYPE html><html><head><meta charset=UTF-8><title> Database exmple</title>
    2025-02-12
  • Detailed explanation of Html5 monitoring and interception Android return key method

    Detailed explanation of Html5 monitoring and interception Android return key method

    The browser window has a history object, which is used to save browsing history. If the current window has visited three URLs, then the history object includes three items, and the history.length property is equal to 3. The history object provides a serie
    2025-02-12
  • JavaScript Calculating Constellation (Zodiac Philosophy) sample code

    JavaScript Calculating Constellation (Zodiac Philosophy) sample code

    Copy code code as follows: <SCRIPT LANGUAGE="JavaScript"><!-- Beginfunction signs() {var start = 1901, birthyear = document.zodiac.year.va
    2025-02-12
  • How to convert an integer in js small and minimum number

    How to convert an integer in js small and minimum number

    JS decimal turn to integer Floor: lower math.floor (12.9999) = 12 CEIL: Math.ceil (12.1) = 13; Round: Four House and Five Enter math.round (12.5) = 13 math.round (12
    2025-02-12
  • Javascript operation html control instance (javascript adds html)

    Javascript operation html control instance (javascript adds html)

    Copy the code. The code is as follows: // Population of drop-down list_showSchools: function (data) { //data represents a data object var mySelect = document.getElementById("selectSchools")
    2025-02-12
  • html5 mark text

    html5 mark text

    The HTML5 specification clearly states that the use of elements should be completely from the semantics of the element. However, some of these elements are very clear, while some are more vague. In terms of the use of elements, it is best to give it to CS
    2025-02-12
  • HTML5 newly increase label and function outview

    HTML5 newly increase label and function outview

    HTML5 is no longer the subset of SGML, mainly to add functions such as image, location, storage, multi -tasking. HTML5 is an upgraded version of HTML4. Compared with the latter, HTML5 increases the expressiveness of the web webpage, and also adds new feat
    2025-02-12
  • JS gets url link string location.href

    JS gets url link string location.href

    js obtains the url link string: location.href can be intercepted to obtain the transmitted parameters. Commonly used are as follows: location.href.indexOf("?")------Get? index value. Note: location.href here does not refer to
    2025-02-12