Professional Documents
Culture Documents
<div class="city1">
<h2>London</h2>
<p>London is the capital of England.</p>
</div>
<div class="city2">
<h2>Paris</h2>
<p>Paris is the capital of France.</p>
</div>
<div class="city3">
<h2>Tokyo</h2>
<p>Tokyo is the capital of Japan.</p>
</div>
HTML <span>
<body>
</body>
Differences Between <div> and <span>
HTML <fieldset><legend>
<body>
<form >
<fieldset>
<legend>Personal Information:</legend>
<label for="fname">First name:</label>
<input type="text" id="fname" name="fname"><br><br>
<label for="lname">Last name:</label>
<input type="text" id="lname" name="lname"><br><br>
<label for="birthday">Birthday:</label>
<input type="date" id="birthday" name="birthday"><br><br>
<input type="submit" value="Submit">
</fieldset>
</form>
Position : Relative and Absolute
position: absolute;
top: 20px;
left: 100px;
width: 600px;
height: 650px;
CSS Box Model