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 Virginia website design. 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.
Principles of HTML Code Optimization
Started by Lema25, Jul 11 2008 12:00 AM
6 replies to this topic
#1
Posted 11 July 2008 - 12:00 AM
|
|
|
#2
Posted 13 July 2008 - 10:31 AM
Most modern html editors produce clean code.
Updates to html are needed voor former I.E. only developers now I.E. moves more to respecting html standards.
Updates to html are needed voor former I.E. only developers now I.E. moves more to respecting html standards.
#3
Posted 17 July 2008 - 09:09 PM
personally I'm not that concerned with optimized code. None of my work is going to go in a heavy use environment so a millisecond or two difference is not going to matter.
#4
Posted 17 September 2008 - 11:32 AM
#5
Posted 17 September 2008 - 03:10 PM
I use W3C for all validations of Xhtml. I'm a transitional programmer, and I code all my websites by hand with no aid of a WYSIWYG editor.
#6
Posted 10 November 2008 - 07:22 AM
Yes W3C is good but yet you should use your own code.. and your own validation methods so that you ensure of your errors..
Lyf come without guarantees, except that smiling will brighten ur face, laughing will enhance ur eyes, and falling in luv will change ur lyf


Sign In
Create Account

Back to top









