Olá
Exemplo de texto para o início
definir id ou classe para facilitar a busca dos elementos que serão modificados pelo scriptTexto
Outro texto
template.title Meu titulo template.title.parent.name 'head' template.head.meta ... NAVEGAÇÃOTexto
,Outro texto
] template.head.contents [Meu titulo, ... ] Meu titulo ...Texto
Outro texto
template.find("p", class="classe1")Texto
ACHAR ELEMENTOSTexto
Outro texto
template.title.next_sibling ... template.meta.previous_sibling Meu titulo NAVEGAÇÃOTexto
Outro texto
template.pTexto
template.p.string = "Blá blá"Blá blá
MODIFICANDOTexto
Outro texto
template.pTexto
template.p.class = "nova-classe" Texto MODIFICANDO