// starting a session
<?php
    session_start();
?>    
    
// HTML
<!DOCTYPE html>
<html>
<body>
<?php
    session_unset(); // removes all session stored variables
    session_destroy(); // destroys the session after used
?>
</body>
</html>