<style>
.content {
height: 200px;
border: 1px solid gray;
display: flex;
flex-direction: column;
}
button {
margin-top: auto;
}
</style>
<div class="content">
<h1>Hello World</h1>
<button>Submit</button> <!-- Aligned element -->
</div>