logo
g Text Version
Beauty & Self
Books & Music
Career
Computers
Education
Family
Food & Wine
Health & Fitness
Hobbies & Crafts
Home & Garden
Money
News & Politics
Relationships
Religion & Spirituality
Sports
Travel & Culture
TV & Movies

dailyclick
Bored? Games!
Nutrition
Postcards
Take a Quiz
Rate My Photo

new
Creativity
Family Travel
Southwest USA
Irish Culture
Home Finance
Comedy Movies
Romance Novels


dailyclick
All times in EST

Full Schedule
g
g HTML Site

BellaOnline's HTML Editor

g

How To Compress The HTML Code For Your Webpage

Guest Author - Diane Cipollo

In this tutorial you will learn how to compress the HTML code for your webpages.

There are good reasons for compressing your HTML code. Although a compressed file will appear the same in the web browser, the compressed code will download faster. Also, it is difficult to read compressed code. This will act as a safe guard against theft.

As you learned in the HTML Basics Series, you should create your HTML webpage as a plain text file and use the .html or .htm extension. So let's say you want to compress a file named mypage.html. Because compressed HTML code is difficult to read, you should keep the original mypage.html file in the uncompressed state. This will make it easier to make changes to this webpage at a later date. In order to keep the original file uncompressed, you will need to put the compressed code into a second file. Let's call this destination file compressed.html. Create this file in the same folder as the original file. This file can start out as a blank file.

So now you have two files in your folder--mypage.html and compressed.html

Now open the compressor program. You will see two input boxes where you will put the names of the original file (mypage.html) and the destination file (compressed.html).

1. Click on the little folder icon and use the browse feature to locate mypage.html and place this file in the Source input box.

2. Use the browse feature for the Destination input box and put the compressed.html into this box.

3. You may or may not have Compression Options that you can choose. For the purpose of this general tutorial you can keep the default settings.

4. Click the Compress button.

Now you have your compressed html code in the compressed.html destination file. Upload this file to your web server in the usual manner and give it the name of the original webpage (mypage.html).

Note: If you have more than one file to compress, you can use the same destination file (compressed.html) each time. Just be sure you upload the compressed code for the first file to your server before you compress your next file. You should always backup your original files before compression.

HTML Source Compression Programs - Webmaster Resources - Shareware and Freeware




This site needs an editor - click to learn more!

Add How+To+Compress+The+HTML+Code+For+Your+Webpage to Twitter Add How+To+Compress+The+HTML+Code+For+Your+Webpage to Facebook Add How+To+Compress+The+HTML+Code+For+Your+Webpage to MySpace Add How+To+Compress+The+HTML+Code+For+Your+Webpage to Del.icio.us Digg How+To+Compress+The+HTML+Code+For+Your+Webpage Add How+To+Compress+The+HTML+Code+For+Your+Webpage to Yahoo My Web Add How+To+Compress+The+HTML+Code+For+Your+Webpage to Google Bookmarks Add How+To+Compress+The+HTML+Code+For+Your+Webpage to Stumbleupon Add How+To+Compress+The+HTML+Code+For+Your+Webpage to Reddit




RSS | Editor's Picks Articles | Top Ten Articles | Previous Features | Site Map


For FREE email updates, subscribe to the HTML Newsletter


Past Issues


print
Printer Friendly
bookmark
Bookmark
tell friend
Tell a Friend
forum
Forum
email
Email Editor


Content copyright © 2014 by Diane Cipollo. All rights reserved.
This content was written by Diane Cipollo. If you wish to use this content in any manner, you need written permission. Contact BellaOnline Administration for details.

g


g features
What's Coming in HTML 5

What is FTP?

HTML Fundamentals - Tables

Archives | Site Map

forum
Forum
email
Contact

Past Issues
memberscenter


vote
Poetry
Daily
Weekly
Monthly
Less than Monthly



BellaOnline on Facebook
g


| About BellaOnline | Privacy Policy | Advertising | Become an Editor |
Website copyright © 2014 Minerva WebWorks LLC. All rights reserved.


BellaOnline Editor