HTML에서 플로팅 레이아웃을 만들려면 CSS 플로트를 사용하세요. 웹사이트에는 콘텐츠를 표시하는 여러 열이 있습니다. CSS Float는 다중 열 레이아웃을 만드는 방법 중 하나입니다.
플로팅 레이아웃은 일반적으로 웹사이트 레이아웃에 사용됩니다. 이것은 CSS Float 속성을 사용하여 수행됩니다.
다음은 쉽게 만들 수 있는 플로팅 레이아웃입니다. −

예시
다음 코드를 실행하여 HTML에서 위의 부동 레이아웃을 만들 수 있습니다.
<!DOCTYPE html>
<html>
<head>
<style>
div.mycontent {
width: 100%;
border: 1px solid green;
}
header, footer {
padding: 1em;
color: green;
background-color: #FAFAFA;
text-align: left;
}
nav {
float: left;
max-width: 150px;
padding: 1em;
}
nav ul {
list-style-type: none;
padding: 0;
}
article {
margin-left: 10px;
border-left: 1px solid gray;
padding: 1em;
overflow: hidden;
}
</style>
</head>
<body>
<div class="mycontent">
<header>
<h1>Tutorialspoint.com</h1>
<h3>Simply Easy Learning</h3>
</header>
<nav>
<ul>
<li><a href="/tutorialslibrary.htm">Tutorials Library</a></li>
<li><a href="/videotutorials/index.htm">Video Tutorials</a></li>
<li><a href="/codingground.htm">Coding Ground</a></li>
<li><a href="/tutor_connect/index.php">Tutor Connect</a></li>
<li><a href="/online_dev_tools.htm">Tools</a></li>
</ul>
</nav>
<article>
<h1>About Us</h1>
<p>This is demo content.</p>
<p>This is demo content.</p>
<p>This is demo content.</p>
<p>This is demo content.</p>
</article>
<footer>Add the footer content here</footer>
</div>
</body>
</html>