Use of simple structuring tags in XHTML

Paragraphs with inline structuring

This paragraph is plain and contains no other information structuring elements.

Note: wherever there is an XHTML element mentioned on this page it makes use of the <code> element

However, this paragraph has emphasis, <em>, on the word this.

It is very important that you take note of all these examples (note the use of the <strong> element).


This paragraph has been logically separated from the others using <hr /> elements. Though we should only do this for structural effects, not decorative effects.


I can break up a paragraph by using the <br /> element
at any
time, but reformatting may make the remaining lines wrap anyway.

Preformatted text

However, the following use of a<pre> element shows how formatting is preserved, no matter how you resize the browser window.

The elephant is a pretty bird,
    as it flits from bough to bough.
        It makes its nest in a rhubarb tree
            and whistles like a cow.
  

Use the View Source option in your browser to see the code for this page.