SMTP2Go Worldwide
Smtp Email Service
For Travelers!

High Conversions!
Perfect For Any Travel
Or Email-related
Website. Traveling
Laptop Users Are Solu...

Get Thousands Of
High Quality, 1 Way
Links To Your...

For Tons Of Affiliate
Tools, Go To:
Http://directorysubmitte
r.imwishlist.com/affiliate
s/ Increase Your Goo...

Get 75%! ::: $31.85
Front & $45.73
Back! ::: Top Sec...

Add Just 1 Simple String
Of Code To Any Website
Money Magically Starts
Pouring Into Your
Pocket! ::: Takes Just...

Shareconsole P2p
Filesharing
Downloads Earn 7...

File Sharing And
Downloads Website.
Pitch Page Is Fully
Customizable With Your
Own Custom Downloa...

Software Customer
Support --Make
Incredible Money...

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

Ads by Clickbank Elite 



Kindle: Amazon's New Wireless Reading Device

Myspace Layout Html

Custom Web Design & Marketing Services.
Professional Mini Site & Graphic Design. XsitePro,
Wordpresss Design. Priced To Sell, High Commission,
Excellent Support! Experience The Power Of Repeat
Sales! Run Your Own Graphic Design Shop Today....

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!

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

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...

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: Website Builder

Web Hosting : Unlimited Websites, Free
Domain, Live Support.

Top 10 Fastest Growing Hosting Company! Popular
Hosting Plans Include The Ultra Unlimited. Have
Unlimited Websites Hosted For Only $7.95 A Month! Free
Domain Registration! Monster Plan Sizes. Live Suppor...

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...

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 &...

Flash Builder.
Flash Website Site Builder.

Ads by Clickbank Elite 

Recommended Products


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


Build a Web Site That Works!


Create Multiple Streams of Income From a Single Web site



Comments

Name:

Email:

Website URL:

Title / Subject:

Hide my email

Comments:

 


Myspace Layout Html News


New AOL search deal with Google includes mobile - Post-Journal

3 Sep 2010 at 12:32pm  MySpace, which is owned by News Corp., extended its search ad partnership with Google by a month while talks continue. The deal had been set to expire at the end of August. Neither MySpace nor AOL will have a major ...
Read more...


What Are Music Video Codes?

30 Aug 2010 at 3:55am  First of all, a definition for music video codes is needed in order to know what this article is about : music video codes is a service which provides absolutely free HTML codes of music videos to...
Read more...


Your Link To The World Called Myspace

27 Aug 2010 at 10:14pm  myspace,layout,social network MySpace is the number one social networking website in the world today. It has long passed the hundred millionth member mark and has taken the lead as the most visited w...
Read more...


Top 10 Video Sharing Sites

27 Aug 2010 at 12:15pm  We take a look at the top 10 video sharing sites to help you determine the right place to post your videos. PowerLearning21 1. Educational vi...
Read more...


Try Wearing White Dresses This Spring and Summer - Associated Content

26 Aug 2010 at 9:10pm  Duke Basketball MySpace Layouts and Graphics Codes If you are searching for free Duke basketball MySpace graphic and layout codes, look no further. These websites offer MySpace themes codes without having to download ...
Read more...


Soul man headlines Labor Day Regatta entertainment - Lockhaven Express

26 Aug 2010 at 11:09am  com TEACHERZ PET can be found on the Web at: myspace.com/weareteacherzpet. During the 1990s, founding members of Teacherz Pet - Steve Hauser, Rich Schlesinger and Mitch Cohen - rocked central Pennsylvania in the ...
Read more...


Ocean rules the Wave - Nation - Thailand

24 Aug 2010 at 10:38pm  MySpace, weather reports, YouTube ... The phone also supports typing in Thai with the layout of traditional Thai keyboard. Samsung Wave also has Wi-Fi connection. I connected it to my Wi-Fi router at home and could ...
Read more...



Myspace Layout Html Links

Best tube
Thousands of free videos
www.adultphoyos.com

Video Games & Reviews
G4-Your home for gadgets and video games. TV that's plugged in.
www.G4TV.com

What you want!
When you want it! Only the Web's Best site!
www.stumbleupon.com