Jump to: navigation, search

HTML Line Bottom

From w3cyberlearnings

Contents

HTML - LINE Bottom

Create a horizontal line at the bottom of a box by using CSS.

HTML - Syntax

<style>
		#testtt {
				border-bottom: thick solid #00F;
				width:400px;
				height:400px;
				background-color: burlywood;
			}
</style>


Example TRY-IT

<!DOCTYPE html>
<html>
	<head>
		<title>top</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<style>
			#testtt {
				border-bottom: thick solid #00F;
				width:400px;
				height:400px;
				background-color: burlywood;
			}
		</style>
	</head>
	<body>
      <div id="testtt">
			Horizontal line at the top
		</div>
	</body>
</html>

Related Links


HTML LINES
  1. HTML - LINE TOP
  2. HTML - LINE Bottom
  3. HTML - LINE Left
  4. HTML - LINE Right
Navigation
Web
SQL
MISC
References