Mostra testo nascosto




<!DOCTYPE html>
<html>
<head>
<style>
#panel, .flip {
font-size: 16px;
padding: 10px;
text-align: center;
background-color: #4CAF50;
color: white;
border: solid 1px #a6d8a8;
margin: auto;
}

#panel {
display: none;
}
</style>
</head>
<body>

<p class="flip" onclick="myFunction()">Click to show panel</p>

<div id="panel">
<p>This panel contains a div element, which is hidden by default (display: none).</p>
<p>It is styled with CSS and we use JavaScript to show it (display: block).</p>
</div>

<script>
function myFunction() {
document.getElementById("panel").style.display = "block";
}
</script>

</body>
</html>


****************************************************************************************************************











( mostratestonascosto.html )- by Paolo Puglisi - Modifica del 17/12/2023