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
  • How to draw smooth curves in advanced canvas

    How to draw smooth curves in advanced canvas

    Background Summary I believe that everyone should have encountered such a need when learning canvas or using canvas in project development: to implement a sketchpad gadget that can be written. Well, I believe that for children who are more familiar with c
    2025-01-21
  • js sample code to set the focus position in the text box at the end (simple and practical)

    js sample code to set the focus position in the text box at the end (simple and practical)

    This can be achieved by using this.focus(); directly in Firefox. In IE, after this.focus();, assign the value of the text box to the text box, and the focus will be at the end. Very simple! ! For example: copy the code as follows: var tar=document.getElem
    2025-01-21
  • PHP displays the file where the current file is located and all files in the folder expanded in a tree shape
  • HTML5: Deserved or overblown?

    HTML5: Deserved or overblown?

    HTML5 is another important version after HTML4.01, XHTML 1.0 and DOM 2 HTML, aiming to eliminate the dependence of Rich Internet Programs (RIA) on browser plug-ins such as Flash, Silverlight, and JavaFX.
    2025-01-21
  • Speed ​​up your website with CSS abbreviations

    Speed ​​up your website with CSS abbreviations

    A key metric of web site usability is speed, or more precisely, how quickly a page appears in a visitor's browser window. There are many factors that affect speed, including the speed of your web server, your visitor's Internet connection, and the
    2025-01-21
  • Html5 video upload preview image video, set and preview the poster frame of a certain second of the video

    Html5 video upload preview image video, set and preview the poster frame of a certain second of the video

    This article introduces Html5 video to upload preview pictures and videos, set and preview the poster frame of a certain second of the video, and share it with everyone. The details are as follows: When receiving the request to upload pictures and videos
    2025-01-21
  • Quick solution to JS bubbling events

    Quick solution to JS bubbling events

    What is a bubbling event is when multiple divs are nested; that is, a parent-child relationship is established. When the parent div and the child div join the onclick event, when the onclick event of the child div is triggered, the child div Corresponding
    2025-01-21
  • 26 things you must do to optimize your web page

    26 things you must do to optimize your web page

    Before you register a domain name, you should record your ideas and prepare enough content for 100 web pages. Please note that is at least. These 100 web pages should be real content, not miscellaneous web pages such as link pages, about us pages, contact
    2025-01-21
  • Combine CLASS to complete the web page layout style

    Combine CLASS to complete the web page layout style

    This is how I make the DIV layout code. I don’t know if it’s clear or not, but let’s take a look. My idea is that in the future, we can use standard parts to assemble the DIV layout of web pages. I divide classes into two types, layout class and style cla
    2025-01-21
  • Watching Fire from the Other Side Explains Flash and HTML5 for You

    Watching Fire from the Other Side Explains Flash and HTML5 for You

    HTML5 does not only refer to HTML5 itself, but generally refers to the entire web front-end technology included in HTML5, CSS3, JavaScript and new browser APIs.
    2025-01-21
  • This is how to write CSS code

    This is how to write CSS code

    /*What I am using now is modified based on the version shared by Dan's, simplified and formatted*/ /*In fact, this is not the simplest template.
    2025-01-21
  • How to call Flash to comply with Web page standards?

    How to call Flash to comply with Web page standards?

    Netizens often ask how to make Flash tags embedded in web pages comply with web standards. There is currently no perfect solution. In this article, we write Flash embedded tags into js files and pass parameters through variables to avoid tags that do not
    2025-01-21
  • Refuting Steve Jobs’ anti-Flash remarks

    Refuting Steve Jobs’ anti-Flash remarks

    As soon as Jobs's anti-Flash remarks were issued, they immediately stirred up waves. Overall, some of his statements are reasonable, but some of them are questionable. Apple has made several brave moves in its history, such as abandoning parallel and
    2025-01-21
  • Example of initial value of Boolean object in js

    Example of initial value of Boolean object in js

    Boolean (logical) objects are used to convert non-logical values ​​into logical values ​​(true or false). Creating a Boolean Object Use the keyword new to define a Boolean object. The following code defines a logical object named myBoolean: var myBo
    2025-01-21
  • Detailed explanation of block elements and inline elements in CSS

    Detailed explanation of block elements and inline elements in CSS

    A block element is generally a container element for other elements. Block elements generally start on a new line. It can accommodate inline elements and other block elements. A common block element is the paragraph tag 'P'. The block element &quo
    2025-01-21