Answers for "make rectangle in html"

8

how to draw rectangle in html

<div style="width:500px;height:100px;border:1px solid #000;">This is a rectangle!</div>
Posted by: Guest on March-07-2020
0

how to make a rectangle in javascript

<html>
<head>
	<meta charset="UTF-8">
	<title>Pong</title>
	<script language="Javascript" type="text/Javascript" src="libraries/p5.js"></script>
	<script language="Javascript" type="text/Javascript" src="pong.js" defer></script>
		<style> body {padding: 0; margin: 0;} </style>
</head>
<body>
	<canvas id="pong" width="600" height="400"></canvas>
</body>
</html>
Posted by: Guest on September-06-2020

Browse Popular Code Answers by Language