In: Computer Science
HTML and PHP Code :
<!DOCTYPE html>
<html>
<head>
<title>items</title>
<style type="text/css">
div.box{
width:
960px;
height:
610px;
margin:50px
auto;
left: 20%;
position:
absolute;
}
div.border{
width:
408px;
margin-top:
35px;
float:left;
border-radius:
5px;
border:2px solid
#999900;
padding:0px 50px
20px;
}
</style>
</head>
<body style="background: skyblue">
<div class="box">
<div class="border">
<h1 style="">The Golkonda
Resorts & Spa </h1>
<form action="#"
method="post">
<label>Name : <input type="text"
name="name"></form><br/><br/>
Items
:<br/><br/>
<input type="checkbox"
name="values[]" value="Pizza"><label> Pizza -
2$</label><br/>
<input type="checkbox"
name="values[]" value="birayani"><label>Birayani -
3$</label><br/>
<input type="checkbox"
name="values[]" value="chapathi"><label>chapathi -
1$</label><br/><br/>
<label>
Tax :
0.25$</label>
<input type="submit" name="submit"
value="Order"/></label>
</form>
</div>
</div>
<img src="1.jpg" width="500" height="300" style="position:
absolute;left: 60%;top:15%;" />
</body>
</html>
Name : .$ POST[" src= "https://media.cheggcdn.com/media/57a/57a6cd08-98bc-4447-9cf2-5ee7c9b21dcb/phpf5qTOF.png" style="height:598px;width:696px;" />
Output :