May 12, 2006, Newsletter Issue #67: Embedded Blanks

Tip of the Week

Proper syntax is imperative to HTML to be interpreted by the browser as intended. If, when viewing a page that you create, it appears as if an element is missing, this is the first thing to check for.


All HTML tags require that the characters in a name be continuous. You canīt add extra blanks within a tag or its surrounding markup without causing the browser to ignore the tag (which is what browsers do with tags they canīt recognize).


Hereīs an example; This requirement means that </BODY> is a valid closing tag for a document body, but that none of the following are legal:
< /BODY>
</ BODY>
</B ODY>
</BO DY>
</BOD Y>
</BODY >
You get the idea. Donīt use blanks inside tags, except to deliberately seperate a tag name from an attribute name.

About LifeTips

Now one of the top on-line publishers in the world, LifeTips offers tips to millions of monthly visitors. Our mission mission is to make your life smarter, better, faster and wiser. Expert writers earn dough for what they know. And exclusive sponsors in each niche topic help us make-it-all happen.

Not finding the advice and tips you need on this Html Tip Site? Request a Tip Now!


Guru Spotlight
Susan Sayour