codice:<!doctype html> <html> <head> <meta charset="utf-8"> <title>Documento senza titolo</title> <style type="text/css"> #mydiv { background-color: #FF0004; height: 300px; width: 300px; } </style> </head> <body> <input type="button" value="Premi qui" onClick="document.getElementById('mydiv').style.display = 'none';"> <div id="mydiv">Inserite qui il contenuto per id "mydiv"</div> </body> </html>