Unit 4 - Tables & Forms

Tags List

<table> Tag

Explanation: Used to create table.

Example:

<table border="1">
<tr>
<th>Name</th>
<th>Marks</th>
</tr>
<tr>
<td>Shlok</td>
<td>90</td>
</tr>
</table>

Output:

Name Marks
Shlok 90

<tr> Tag

Explanation: Defines row in table.

<td> Tag

Explanation: Defines data cell.

<th> Tag

Explanation: Defines header cell.

<form> Tag

Explanation: Used to create form.

Example:

Name:

<input> Tag

Explanation: Used to take user input.

Example:





Option 1
Check me