Page

HTML simple form example

<form action="/html/tags/html_form_tag_action.cfm" method="get">
<fieldset>
<legend>Your Details</legend>
<div>
<label for="first_name">First Name:</label><br>
<input type="text" name="first_name" value="" maxlength="100" /><br>
</div>
<div>
<label for="lunch">Lunch:</label><br>
<input type="radio" name="lunch" value="pasta" /> Pasta
<input type="radio" name="lunch" value="fish" /> Fish
</div>
<div>
<label for="drinks">Drinks:</label><br>
<input type="checkbox" name="drinks" value="coke" /> Beer
<input type="checkbox" name="drinks" value="due" /> Wine
</div>
<div>
<label for="city">Preferred City:</label><br>
<select name="city">
  <option value ="sydney">Delhi</option>
  <option value ="melbourne">Mumbai</option>
  <option value ="cromwell">Bareilly</option>
  <option value ="queenstown">Agra</option>
</select>
</div>
<div>
<label for="comments">Comments:</label><br>
<textarea rows="3" cols="20" name="comments"></textarea>
</div>
<div>
<input type="submit" value="Submit" />
</div>
</fieldset>
</form>

HTML music source code

<audio src="/music/good_enough.mp3" controls>
<embed 
src="/music/good_enough.mp3"
width="300"
height="90"
loop="false"
autostart="false" />
</audio>



<audio src="/music/good_enough.mp3" 
preload="auto" 
controls>



<embed 
src="/music/good_enough.mp3"
loop="false"
autostart="false"
hidden="true"
mastersound />


HTML table color

<table style="background-color:lightblue;">
<tr style="background-color:blue;color:white;">
<th>Table header</th><th>Table header</th>
</tr>
<tr>
<td>Table cell 1</td><td>Table cell 2</td>
</tr>
</table>

HTML table border source code

<table style="border:1px solid black;">
<tr>
<th style="border:1px solid black;">Table header</th><th style="border:1px solid black;">Table header</th>
</tr>
<tr>
<td style="border:1px solid black;">Table cell 1</td><td style="border:1px solid black;">Table cell 2</td>
</tr>
</table>

HTML Table source code

<table border="1" style="width:200px;">
<tr>
<td>Cell 1</td>
<td>Cell 2</td>
</tr>
<tr>
<td>Cell 3</td>
<td>Cell 4</td>
</tr>
</table>