Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
each(function(e){
var text = $(this).contents().get(0).nodeValue;
var link = window.location.origin + window.location.pathname + '#' + $(t
his).attr('id');
var isso =
$(this).clone();
isso.children().remove();
var tagPai ='<a href="' + link + '" class="tagType" target="_blank" >'
+ $(isso).text() + '</a>'
console.log(tagPai);
$(this).next('table').find('tbody > tr').find('td:first').each(function(
){
link = 'http://www.w3schools.com/tags/tag_' + $(this).children('
a:first').attr('href').split('/').slice(-1).pop() + '.asp';
var classes = "tagObj";
if($(this).find('[src="/files/3843/HTML5_Badge_32.png"]').length
> 0 )
classes = classes + " isHtml5";
var tagFilho ='<a href="' + link + '" class="' + classes + '" t
arget="_blank" >' + $(this).children('a:first').html() + '</a>'
console.log("
" + tagFilho)
});
console.log("<!-- ----------------------------- -->")
});
<!-- ----------------------------- -->
<a href="https://developer.mozilla.org/pt-BR/docs/Web/HTML/HTML5/HTML5_element_l
ist#Metadatos_do_documento" class="tagType" >Metadatos do documento</a>
<a href="http://www.w3schools.com/tags/tag_head.asp" class="tagObj
" target="_blank" ><code><head></code></a>
<a href="http://www.w3schools.com/tags/tag_title.asp" class="tagOb
j" target="_blank" ><code><title></code></a>
<a href="http://www.w3schools.com/tags/tag_base.asp" class="tagObj
" target="_blank" ><code><base></code></a>
<a href="http://www.w3schools.com/tags/tag_link.asp" class="tagObj
" target="_blank" ><code><link></code></a>
<a href="http://www.w3schools.com/tags/tag_meta.asp" class="tagObj
" target="_blank" ><code><meta></code></a>
<a href="http://www.w3schools.com/tags/tag_style.asp" class="tagOb
j" target="_blank" ><code><style></code></a>
<!-- ----------------------------- -->
<a href="https://developer.mozilla.org/pt-BR/docs/Web/HTML/HTML5/HTML5_element_l
ist#Scripting" class="tagType" >Scripting</a>
<a href="http://www.w3schools.com/tags/tag_script.asp" class="tagO
bj" target="_blank" ><code><script></code></a>
<a href="http://www.w3schools.com/tags/tag_noscript.asp" class="ta
gObj" target="_blank" ><code><noscript></code></a>
<a href="http://www.w3schools.com/tags/tag_template.asp" class="ta
gObj" target="_blank" ><code><template></code></a>
<!-- ----------------------------- -->
<a href="https://developer.mozilla.org/pt-BR/docs/Web/HTML/HTML5/HTML5_element_l
ist#Sees" class="tagType" >Sees</a>
<a href="http://www.w3schools.com/tags/tag_body.asp" class="tagObj
" target="_blank" ><code><body></code></a>
<a href="http://www.w3schools.com/tags/tag_section.asp" class="tag
Obj isHtml5" target="_blank" ><code><section></code></a>
<a href="http://www.w3schools.com/tags/tag_nav.asp" class="tagObj
isHtml5" target="_blank" ><code><nav></code></a>
<a href="http://www.w3schools.com/tags/tag_article.asp" class="tag
Obj isHtml5" target="_blank" ><code><article></code></a>
<a href="http://www.w3schools.com/tags/tag_aside.asp" class="tagOb