</head> <body> <input type="submit" name="b1" value="a" onclick="A()" /> <input type="submit" name="b2" value="b" onclick="B()"/> <input type="submit" name="b3" value="c" onclick="C()"/> <input type="submit" name="b4" value="d" onclick="D()"/> <p id="p1" style="display:block">TAB a - This is a text of TAB a</p> <p id="p2" style="display:none">TAB b - This is a text of TAB b</p> <p id="p3" style="display:none">TAB c - This is a text of TAB c</p> <p id="p4" style="display:none">TAB d - This is a text of TAB d</p>
<a id="a1" style="display:block">TAB b - This is a text of TAB b</a> <a id="a2" style="display:block">TAB c - This is a text of TAB c</a> <a id="a3" style="display:block">TAB d - This is a text of TAB d</a> </body> </html>
dove ogni vota che si premeva su uno dei bottoni compariva la pagina selezionata. Cmq a parte tutto mi sa che nn è questo l'esercizio che ha chiesto....