0% found this document useful (0 votes)
71 views7 pages

Web Page Design with Forms and Media

The document outlines practical exercises for creating web pages using HTML, focusing on forms, video, and audio tags. It includes examples of a user form with various input types, an admission form, and web pages embedding video and audio clips. Additionally, it demonstrates how to create a multimedia page that includes images, audio, and video elements.

Uploaded by

taylosharma09
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)
71 views7 pages

Web Page Design with Forms and Media

The document outlines practical exercises for creating web pages using HTML, focusing on forms, video, and audio tags. It includes examples of a user form with various input types, an admission form, and web pages embedding video and audio clips. Additionally, it demonstrates how to create a multimedia page that includes images, audio, and video elements.

Uploaded by

taylosharma09
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

Practical No.

: 05

Aim: Forms and Introducing video and audio tags

a) Design a web page with a form that uses all types of controls.

Input:

<!DOCTYPE html>

<html>

<head>

<title>Form</title>

</head>

<body>

<form method="POST" action="[Link]">

User ID: <input type="text" name="user_id" required/><br>

User Name: <input type="text" name="user_name" required/><br>

Gender:

<input type="radio" name="gender" value="male" required>Male

<input type="radio" name="gender" value="female" required>Female<br>

Password: <input type="password" name="password" required/><br>

Your Hobbies:
<input type="checkbox" name="reading" value="1">Reading

<input type="checkbox" name="painting" value="2"> Painting

<input type="checkbox" name="photography" value="3"> Photography

<input type="checkbox" name="dance" value="4"> Dance

<input type="checkbox" name="scrapbooking" value="5">


Scrapbookings<br>

Select City:

<select name="city" required>

<option value="None">None</option>

<option value="Mumbai">Mumbai</option>

<option value="Pune">Pune</option>

<option value="Delhi">Delhi</option>

</select><br>

Description:<br />

<textarea rows="5" cols="50" name="description"


required></textarea><br>

<input type="submit" name="submit" value="Submit"/>

<input type="reset" name="reset" value="Reset" />

</form>

</body>

</html>
[Link]

<!DOCTYPE html>

<html>

<head>

<title>Thankyou</title>

</head>

<body>

<img src="[Link]" height="500px" width="350px"/>

</body>

</html>

b) Design an admission form for any course in your college with


text, pass word fields, check boxes, radio button and reset
button.

Input:

Refer Practical No.: 05(a)

c) Write a program to get the following output.

Input:

<!DOCTYPE html>
<html>

<head>

<title>Form</title>

</head>

<body>

<table border=3>

<form method="POST" action="[Link]">

<tr>

<th colspan="2">Sign In</th>

</tr>

<tr>

<td>E-mail Address</td>

<td><input type="text" id="email" name="email" required></td>

</tr>

<tr>

<td>Password</td>

<td> <input type="password" name="password" required></td>

</tr>

<tr>

<td colspan="2" style="text-align: center;"><input type="submit"


name="submit" value="Submit"></td>
</tr>

</form>

</table>

</body>

</html>

d) Design a web page by placing a Video Clip on a Web Page.

Input:

<!DOCTYPE html>

<html>

<head>

<title>Video Clip on Web Page</title>

</head>

<body>

<h1>Welcome to the Video Clip Page</h1>

<video controls>

<source src="Sample Video.mp4" type="video/mp4">

</video>

<p>This is a sample video. Click the play button to watch the video clip.</p>
</body>

</html>

e) Design a web page by placing an Audio Clip on a Web Page.

Input:

<!DOCTYPE html>

<html>

<head>

<title>Video Clip on Web Page</title>

</head>

<body>

<h1>Welcome to the Audio Clip Page</h1>

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

<source src="sampleaudio.mp3">

</audio>

<p>This is a sample audio. Click the play button to listen the video clip.</p>

</body>

</html>
f) Design a web page embedding image, audio and video.

Input:

<!DOCTYPE html>

<html>

<head>

<title>Multimedia</title>

</head>

<body>

<h1 style="text-align:center; color:red">Multimedia</h1><hr>

Sample Image

<img src="[Link]" width="300" height="200">&nbsp&nbsp&nbsp

Sample Video

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

<source src="Sample Video.mp4" controls>

</video>&nbsp&nbsp&nbsp

Sample Audio

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

<source src="sampleaudio.mp3">

</audio>

</body>

</html>

You might also like