jQuery.fn.showTagInfo = function(){
var tags = this.map( function(){
return this.tagName + ( this.id ? "#" + this.id : "" );
$("body").append( tags.join("<br>") + "<br><br>" );
$("#n1 p").showTagInfo();
$("p span").showTagInfo();
$("#n1 p.detail span.c").showTagInfo();