This: <a href="http://henrytheadequate.blogspot.com">Henry the Adequate </a>
Looks like this: Henry the Adequate
This: <a href="http://henrytheadequate.blogspot.com"><img src="http://photos1.blogger.com/blogger/3685/171/320/henry-axe.0.jpg"> </a>
Looks like this:
This: Crappiest post <b>EVER</b>!!
Looks like this: Crappiest post EVER!!
This: <i>I suck at html.</i>
Looks like this: I suck at html.
- A tag is some stuff between < and >
- Generally you need an opening tag (<a >) and a closing tag (</a>)
- The <a> tag represents a link to another page. You need to specify the page you want to link to, which is where the href="http://henrytheadequate.blogspot.com" bit comes in. Note that this is within the tag itself (ie before the >).
- Stuff between the opening and closing tags (see 2. above) will be displayed on the screen. This can be text, as in the first example above, or an image tag (<img src="http://link-to-image">). Unlike most an image tag does not require a closing tag. Image tags are not allowed in blogger comments though.
- In the second example above we have an img tag nested within an "a" (hyperlink) tag. This is what makes the image clickable. Note that when nesting tags the tag that is opened last must be closed first. For example, </img></a> is correct for the example above, whereas </a></img> would be incorrect.