You are on page 1of 6

ASSIGNMENT-2

CREATE A WEBPAGE:

USING FORM TAGS:


<html>

<body>

<p>

<form>

<legend>Personalia:</legend>

first name:<br>

<input type="text" name="username">

<br>

last name<br><input type="text" name="password">

<br>

gmail<br><input type="" name="gmail"><br>

<h>best friends</h><br>

<form action="/action_page.php">

<label for="anil">anil</label>

<input type="radio" name="friends" id="anil" value="kalyan"><br>

<label for="reddy">reddy</label>

<input type="radio" name="friends" id="reddy" value="reddy"><br>

<label for="ramesh">ramesh</label>

<input type="radio" name="friends" id="ramesh" value="ramesh">

<br></br>

<select>

<option value="anil">anil</option>
<option value="ramesh">ramesh</option>

<option value="reddy">reddy</option>

<option value="goyal">goyal</option>

</select>

<br></br>

<br><input type="submit" value="Submit">

</form>

</body>

</html>

Output
<MARQUEE>,<LI>,<A>,<IMG>,<AUDIO>,<VIDEO>
<html>

<body>

<p>

<ul>

<li>pubg</li>

<li>gta</li>

<li>cod</li>

<li>tod</li>

</ul>

<ol>

<li>pubg</li>

<li>gta</li>

<li>cod</li>

<li>tod</li>

</ol>

<a href="https://d.newsweek.com/en/full/1213522/pubg-key-art.png/">visit pubg.com.in</a><br>

<marquee>anil kumar</marquee>

<img src="pubg.jpg" width="250" height="250">

<audio controls>

<source src="bang.mp3" type="audio/mpeg">

</audio>

<video width="320" height="240" controls>

<source src="ismart.mp4">
</video>

</body>

</html>

Output
FRAME TAG:
<html>

<head>

<title>frame tag</title>

</head>

<frameset cols="50%,50%">

<frame src="anil.html">

<frame src="anil1.html">

</frameset>

</html>

Output

You might also like