To continue with a basic HTML lesson this week, try implementing a few of these more advanced codes. These codes were mainly generated from the free online HTML tutorial at W3 schools.
Create a link to send me an email
<a href=”mailto:YourEmail@YourEmail.com”>YourEmail@YourEmail.com</a>
Insert a table
<table border=“3”>
<tr>
<th>Your heading one</th>
<th>Your heading two</th>
</tr>
<tr>
<td>Row 1, Cell 1</td>
<td>Row 1, Cell 2</td>
</tr>
<tr>
<td>Row 2, Cell 1</td>
<td>Row 2, Cell 2</td>
</tr>
</table>
Insert a text field (box)
<form>
First name:
<input type=”text” name=”firstname”>
<br>
Last name:
<input type=”text” name=”lastname”>
</form>
Insert a drop down box
<form method=post action=”____”>
<center>
Select an option:
<select>
<option >option 1
<option selected>option 2
<option>option 3
</select><br>
<input type=”Submit” value=”Submit”></center>
</form>
Insert a check box
<form>
I want to insert a check box here:
<input type=”checkbox” name=”Your Subject” value=”Check box”> <br> </form>
Insert a form’s attribute and submit button
<form name=”input” action=”html_form_action.asp”
method=”get”>
Username:
<input type=”text” name=”user”>
<input type=”submit” value=”Submit”>
</form>
Create an ordered list
<ol type=”I”>
<li>List item 1
<li>List item 2
<li>List item 3
</ol>
Create scrolling text
<marquee bgcolor=”#blue” loop=”-1″ scrollamount=”2″ width=”100%”>Your text</marquee>
Add background music to a page
<embed src=”YourMusic.mid”> <noembed> <bgsound src=”YourMusic.mid”> </noembed>