0% found this document useful (0 votes)
21 views3 pages

HTML Document Structure and Forms

notes

Uploaded by

pewona5145
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

HTML Document Structure and Forms

notes

Uploaded by

pewona5145
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

<!

DOCTYPE html>
<html lang="en">
<head>
<title>Document</title>
</head>
<body>
<header>
<h1>Heading</h1>
<h3 >Internal Heading</h1>
<p>Class Heading</p>
<section>
<img src="" alt="Logo" />
</section>
<nav>
<a href="">Home</a>
</nav>
</header>
<main>
<ul type="circle">
<li>Item</li>
<li>Item</li>
<li>Item</li>
<li>Item</li>
<li>Item</li>
</ul>
<ol type="1" start="5">
<li>Item</li>
<li>Item</li>
<li>Item</li>
<li>Item</li>
<li>Item</li>
</ol>
<ul>
<li>
<dl>
<dt>Heading</dt>
<dd>hsgf hgdwer hasgdyuwiw hgywtyw aiwyruwy</dd>
</dl>
</li>
</ul>

<table border="1">
<tr>
<th rowspan="3">Day</th>
<th colspan="3">Seminar</th>
</tr>
<tr>
<th colspan="2">Schedule</th>
<th rowspan="2">Topic</th>
</tr>
<tr>
<th>Begin</th>
<th>End</th>
</tr>
<tr>
<td rowspan="2">Mon</td>
<td rowspan="2">8 Am</td>
<td rowspan="2">5 pm</td>
<td>Into to XMl</td>
</tr>
<tr>
<td>Validity-</td>
</tr>
<tr>
<td rowspan="2">tus</td>
<td>ahsdgjhq</td>
<td colspan="2">hgw</td>
</tr>
<tr>
<td colspan="3">hdgjwh</td>
</tr>
</table>

<!-- Form -->


<form action="" method="post">
<h3>Text Input</h3>
<label for="usename">UserName:</label>
<input
type="text"
name="Name"
placeholder="Enter Your Name"
id="usename"
/>

<h3>Pass input</h3>

<label for="pass">Password:</label>
<input
type="password"
name="Password"
placeholder="Enter Your Pass"
id="pass"
required
/>

<h3>color input</h3>

<label for="favcolor">Color:</label>
<input type="color" name="favcolor" id="favcolor" />

<h3>textarea input</h3>
<textarea rows="2" col="100">enter here..</textarea><br />

<h3>checkbox input</h3>
<input type="checkbox" name="vehicle" value="bike" />Bike<br />
<input type="checkbox" name="vehicle" value="car" />car<br />
<input type="checkbox" name="vehicle" value="cycle" />cycle<br />

<h3>dropdown select</h3>
<select name="subject">
<option value="coa">COA</option>
<option value="DBMS">DBMS</option>
<option value="wd" selected>WD</option>
<option value="DSTL">DSTL</option>
</select>

<fieldset>
<legend>Subscribe :-</legend>
Name: <input type="text" />
</fieldset>

<button type="button" onclick="alert('Are you sure want to submit?')">


alert
</button>
<button type="submit">Login</button>
<button type="reset">reset</button>
</form>
</main>
</body>
</html>

You might also like