Documente Academic
Documente Profesional
Documente Cultură
<div style="color:#0000FF">
<h3>This is a heading in a div element</h3>
<p>This is some text in a div element.</p>
</div>
<p>This is some text.</p>
HTML Results :
HTML Results :
HTML Layouts
Website Layouts
</body>
</html>
The results :
<tr>
<td colspan="2" style="background-color:#FFA500;text-align:center;">
Copyright bsg.ac.id</td>
</tr>
</table>
</body>
</html>
The Results :
HTML Forms
<form>
.
input elements
.
</form>
Text Fields
Text Fields
The Results :
Note: The form itself is not visible. Also note that the
default width of a text field is 20 characters.
Password Field
Password Field
The Results :
Radio Buttons
<form>
<input type="radio" name="sex"
value="male">Male<br>
<input type="radio" name="sex"
value="female">Female
</form>
Radio Buttons
The Results :
Checkboxes
<form>
<input type="checkbox" name="vehicle"
value="Bike">I have a bike<br>
<input type="checkbox" name="vehicle"
value="Car">I have a car
</form>
Checkboxes
The Results :
Submit Button
Submit Button
The Results :
Dropdown List
The Example :
<form action="">
<select name="cars">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="fiat">Fiat</option>
<option value="audi">Audi</option>
</select>
</form>
The Results :
Try it yourself