Empowering Today’s Learners to Become Tomorrow’s Leaders
This page does not require additional changes or files as it is purely definitional.
HTML tags can be nested. One tag can be inside another tag.
For example, the image we just placed was inside a paragraph tag.
<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.
You could even nest an image link right inside of a hyperlink. Remember that for your work on Portfolio for this module!