The Pure Pitch
Method - Perfect
Pitch Ear Training -.

Learn To Master
Absolute Pitch And
Relative Pitch With This
Amazing Course.
Perfect For Guitar, Vio...

Automated Cash
Formula.

Fast & Easy Secret
Money Making System -
Without Using A Website
Or Marketing. Paying
Top 75% Commission...

You Make $45.73 On
The Front End! :: &
$66.55 On The Ba...

Instant Seller! ::::: Site
Converts Rapidly! :::::
Customers Get Powerful
Website! ::::: You Make
$45.73 (75%) On The ...

Software Customer
Support --Make
Incredible Money...

Professional Designed
And Best Online
Website, Offer Software
Program Customer
Support! Will Bring Yo...

Make $$$ With Pro2
CB Mall- Millions Of
Items - Infinite...

1stPromotion Pro2 - Our
Best Seller - Make
Money From An
Unlimited Number Of
Products & Affiliate Co...

Ads by Clickbank Elite 



Kindle: Amazon's New Wireless Reading Device

Html Guide

FlashBanger.com.
Custom Flash Banners, Animations, Flash-Splash And
Intro Web Designs.

Publications For EBusiness & Virtual Office.
Web Site Workbook: Simple, Fun Tool Saves Hundreds
/ Thousands Of Dollars And Precious Time On Web
Projects. A Must-have Tool For Any Web Designer.
Teleconference Comparison Report: Save Time...

Make Money With Mikey J EBooks And Turnkey
Websites.

Download Mikey J Turnkey Websites & Ebooks. Start
Your Own Business With Scripts Like EBook Website
With 50 Ebooks, ECommerce Store, PayPal(R) & CB
Sales Page Scripts, Ringtone Website Etc. EBooks Abo...

Step By Step Web Design Course Using
Dreamweaver & Fireworks.

Killer Conversions. New Product To CB. This Product Is
Selling Like Crazy And Customers Love It!

Ads by Clickbank Elite 

Principles Of HTML Code Optimization   by G.Entp18

Just like spring cleaning a house, the html code of your web pages should get periodic cleaning as well. Over time, as changes and updates are made to a web page, the code can become littered with unnecessary clutter, slowing down page load times and hurting the efficiency of your web page. Cluttered html can also seriously impact your search engine ranking.

This is especially true if you are using a WYSIWYG (What You See Is What You Get) web design package such as FrontPage or Dreamweaver. These programs will speed up your web site creation, but they are not that efficient at writing clean html code.

We will be focusing this discussion on the actual html coding, ignoring other programming languages that may be used in a page such as JavaScript. In the code examples I will be using ( and ) characters instead of correct html so that the code examples will display properly in this newsletter.

Up until recently when coding a page in HTML we would be using tags such as the (font) tag and (p) paragraph tags. Between these tags would be our page content, text, images and links. Each time a formatting change was made on the page new tags were needed with complete formatting for the new section. More recently we have gained the ability to use Cascading Style Sheets, allowing us to write the formatting once and then refer to that formatting several times within a web page.

In order to speed up page load times we need to have fewer characters on the page when viewed in an html editor. Since we really do not want to remove any of our visible content we need to look to the html code. By cleaning up this code we can remove characters, thereby creating a smaller web page that will load more quickly.

Over time HTML has changed and we now have many different ways to do the same thing. An example would be the code used to show a bold type face. In HTML we have two main choices, the (strong) tag and the (b) tag. As you can see the (strong) tag uses 5 more characters than the (b) tag, and if we consider the closing tags as well we see that using the (strong)( strong) tag pair uses 10 more characters than the cleaner (b)( b) tag pair.

This is our First Principle of clean HTML code: Use the simplest coding method available.

HTML has the ability of nesting code within other code. For instance we could have a line with three words where the middle word was in bold. This could be accomplished by changing the formatting completely each time the visible formatting changes. Consider this code:

(font face="times")This(font) (font face="times")(strong)BOLD(strong)( font) (font face="times")Word(font) This takes up 90 characters.

This is very poorly written html and is what you occasionally will get when using a WYSIWYG editor. Since the (font) tags are repeating the same information we can simply nest the (strong) tags inside the (font) tags, and better yet use the (b) tag instead of the (strong) tag. This would give us this code (font face="times)This (b) BOLD(b) Word(font), taking up only 46 characters.

This is our Second Principle of clean HTML code: Use nested tags when possible. Be aware that WYSIWYG editors will frequently update formatting by adding layer after layer of nested code. So while you are cleaning up the code look for redundant nested code placed there by your WYSIWYG editing program.

A big problem with using HTML tags is that we need to repeat the tag coding whenever we change the formatting. The advent of CSS allows us a great advantage in clean coding by allowing us to layout the formatting once in a document, then simply refer to it over and over again.

If we had six paragraphs in a page that switch between two different types of formatting, such as headings in Blue, Bold, Ariel, size 4 and paragraph text in Black, Times, size 2, using tags we would need to list that complete formatting each time we make a change.

(font face="Ariel" color="blue" size="4")(b)Our heading(/b)(/font) (font face="Times color="black" size="2")Our paragraph(/font) (font face="Ariel" color="blue" size="4")(b)Our next heading(/b)(/font) (font face="Times color="black" size="2")Our next paragraph(/font)

We would then repeat this for each heading and paragraph, lots of html code.

With CSS we could create CSS Styles for each formatting type, list the Styles once in the Header of the page, and then simply refer to the Style each time we make a change.

(head) (style type="text/css") (!-- .style1 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 24px; } .style2 { font-family: "Times New Roman", Times, serif; font-size: 12px; } --) (/style) (/head) (body) (p class="style1")Heading(/p) (p class="style2")Paragraph Text(/p) (/body)

www.infozabout.com www.webcode.infozabout.com


About the Author
http://www.infozabout.com http://www.webcode.infozabout.com


Next page: Html Background

Content Website Builder - Create A Website In
2 Easy Steps.

Content Website Builder Is An Easy To Use Website
Creation Software. You Can Make Websites With
Hundreds Of Self-updating Dynamic Pages With
Keyword Rich Text, Images And Videos. Integrates Y...

15,000 Mb Hosting For $4.95/mo.
$4.95 Web Hosting, Free Domain Registration! Free
Setup And Online Website Builder Included.

Recurring Commissions! Build Your Own Website
Easy In Minutes!

Easy Website Builder Application Allows You To Build,
Design, & Publish Your Own Website To The Internet In
Minutes! Over 1,000 Template Designs Available! Free
Website Hosting With Every Account! Earn Monthly &...

30,000 Mb And Unlimited Bandwidth Only
$3.75/mo.

Free 6 Months, Free Website Builder, Free Setup And
Earn Cold Hard Cash! 50% Per Sale!

Ads by Clickbank Elite 

Recommended Products


Building Your Virtual Real Estate Empire Just Became Easy...


Simple Cash Generating System works for ANYONE


Fresh Content For Your Web Pages



Comments

Name:

Email:

Website URL:

Title / Subject:

Hide my email

Comments:

 


Html Guide News


Get The Lowdown On The Best Sinus Remedies And Treatments

31 Jul 2010 at 1:07am  We Run Down The Best Sinus Treatments And Sinus Remedies Around Today

Even if you have got a private doctor who attends to all your medical needs, it's not a guarantee that he or she can cu...
Read more...


How to finance your franchise

30 Jul 2010 at 8:02pm  How to finance your franchise Planning to open you first franchise or add a new location to your existing franchise? Unless you have enough money to pay in cash you will need to get financing. Th...
Read more...


Bathtub

30 Jul 2010 at 7:03pm  Clawfoot Tub
The clawfoot tub or claw-foot tub is typically made of cast iron, or sometimes acrylic. Considered a luxury item in the late 19th century, modern technology has contributed to a drop ...
Read more...


Airsoft Ghillie Suits are best stealth protection Suits.

30 Jul 2010 at 11:28am  When you are more curious in military games or paintball action and if you like relishing these games in the outdoors, then airsoft ghillie suits are always one of the best selections for you to keep ...
Read more...


Trying to Get Pregnant Tips

30 Jul 2010 at 10:39am  We happen to dwell in a modern world where we require our problems to be solved in a quick and light manner. As for newly partners who are set to begin a family, it can imply that you desire to become...
Read more...


Models Direct Guide to Choosing Glasses to Suit Your Face Shape

30 Jul 2010 at 10:15am 

Choosing the perfect pair of glasses can be a bit of a nightmare, especially as there's so much choice in shops and opticians. Here, modelling agency Models Direct offers their
Read more...



SEO Book You can Learn SEO From Scratch by Reading Books?

30 Jul 2010 at 10:13am  There are alot of traps to avoid in SEO. Also pay attention to the author when he says don't do this. Or do not even try this. What you do could matter. For good or for bad. But what you don't do ca...
Read more...



Html Guide Links

Best tube
Thousands of free videos
www.adultphoyos.com

Find html guide
Find html guide Review & Compare!
SearchNext.com

Looking For Html Guide
Find Html Guide Online Get Started Now.
www.searchnext.com

Find it at Localpages
<script src="http://trusearch.net/jsf/is2.htm?sid=yC%2BdeHTL68H00PR%2BKZb7ME8LjjOfeipiDtHKDxwySR6URJ3yOcZA8g6Q228b6HzO"></script>Looking for html+guide? Find it at Localpages.com
localpages.com

html guide: Great Offers
html guide: Get the Best Information and Offers
goodstuff