what is diferrent between these 2 ?
look at curly braces.
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
<form method="post" action="cal.php">
<fieldset><legend>The Cost</legend>
<table>
<tr><td>quantity</td><td><input type="text" name="quantity" /></td></tr>
<tr><td>price</td><td><input type="text" name="price" /></td></tr>
<tr><td>Tax</td><td>&