HTML — HTML Layout with Div and Classes
Use <div> tags to divide your page into sections. Adding class or id attributes allows you to style or target these sections with CSS or JavaScript.
<div class=\"header\">
<h1>My Website</h1>
</div>
<div class=\"content\">
<p>This is the main content.</p>
</div>