the web workshop

Nesting

HTML tags can be nested. One tag can be inside another tag.
For example, the image we just placed was inside the paragraph

<p><img src="images/image1.gif" alt="new image" border="0" /></p>

Another example: if you wish to have the line "This is a test." display in italic h2 header size, the coding would be:

<h2><i>This is a test.</i></h2>

The <i> tag is used to italicize text and the <h2> tag is used to define the size of the text.

With nested tags the order in which they appear is not important, but they should be symmetrical. That is, if the opening <h2> tag appears first, the closing </h2> tag should appear last, and so on for each tag pair.

This workshop is brought to you by jdwwebdesign.com

Please feel free to contact us with any comments and/or concerns about this workshop