Results 1 to 3 of 3

Thread: smushed code

  1. #1
    Join Date
    Jan 2007

    smushed code

    Hi, when people go to view source of most webpages all HTML are clearly readable, but some sites such as Google when try to view source, the codes are all smutted together into one big trunk of very hard to read gibberish, I am wondering how I can make my site like that ?

  2. #2
    Join Date
    Jan 2007
    Well, writing ugly code isn't too difficult. But, what you'll find is that many sites with "ugly" and "indecipherable" code are heavy on the JavaScript side. In some cases, the page itself consists of no more than a shell and some JavaScript, which then "writes" the page. The script is optimized and condensed (and also therefore obfuscated) with something like this:

    Jon Wire

    thepointless.com | rounded corner generator

    I agree with Apple. Flash is just terrible.

    Use CODE tags!

  3. #3
    Join Date
    May 2005
    Gold Coast (MS)
    What they did is just compress the CSS and HTMLs files by removing content that browsers ignore anyway when parsing the web page. There are several online tools for both HTML and CSS optimizing. Example: CSS Formatter and Optimiser

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center

Recent Articles