Web Page Design and Hosting

July 29, 2007

158 Part II: HTML, XHTML, CSS and Accessibility

Filed under: Web Design — webmaster @ 4:09 pm

158 Part II: HTML, XHTML, CSS and Accessibility Secret #116: Understand Well-Formedness Well-formedness is simply the proper nesting of elements. It is important in HTML, although it snot brought up too often as a discussion point until you begin to study XHTML in earnest. What happens if you want to have something being both emphasized and strong at the same time? Well, you can apply both elements to text. The important issue is that the elements nest properly. Correct:

Welcome to my super duper web site!

Also correct:

Welcome to my super duper web site!

Incorrect:

Welcome to my super duper web site!

Also incorrect:

Welcome to my super duper web site!

A great way to help visualize this is to draw an arc from an opening tag to its companion closing tag. If the arcs intersect, your elements are improperly nested (refer to Figure 7-3). The same is true for the vertical, too (see Figure 7-4). Figure 7-3: Improper nesting of elements along the horizontal axis. Figure 7-4: Improper nesting of elements along the vertical axis.

Note: If you are looking for good and high quality web space to host and run your application check Lunarwebhost Java Web Hosting services

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URI

Sorry, the comment form is closed at this time.

Powered by Java Web Hosting