TagNode spanTagNode = new TagNode("span");
append(spanTagNode);
spanTagNode.addAttribute("class", "image", true);
TagNode imgTagNode = new TagNode("img");
spanTagNode.addChild(imgTagNode);
imgTagNode.addAttribute("src", imageSrc, true);
imgTagNode.addAttribute("alt", imageAltText, true);
// "nofollow" keyword is not allowed for XHTML
// imgTagNode.addAttribute("rel", "nofollow", true);
}