Practical File
R.C.M POLYTECHNIC
Majra, Beri, Jhajjar, Haryana
Session - (2022)
DCSE (5th Semester)
SUBJECT - WEB DEVELOPMENT USING PHP
Submitted To: Submitted By:
Mr. Farooque Alam Vaishnavi
Roll No.:200670800059
`
PRACTICAL: -1
<! -- Checkbox Control -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Checkbox Control</title>
</head>
<body>
<form action="#">
<h2>Please fill up your name and select your subject and personal hobbies liked by you</h2> <br>
USER ID:<input type="text" name="user_id" placeholder="Enter your user id”> <br><br>
Select your subjects:<br>
<input type="checkbox" name="math" id="Math">Maths <br>
<input type="checkbox" name="science" id="Science">Science <br>
<input type="checkbox" name="Social-Science" id="Social-Science">Social-Science <br>
<input type="checkbox" name="English" id="English">English <br>
<input type="checkbox" name="Hindi" id="Hindi">Hindi <br>
<input type="checkbox" name="Computer" id="Computer">Computer <br><br>
Select your hobbies:<br>
<input type="checkbox" name="Reading" id="Reading">Reading <br>
<input type="checkbox" name="Gardening" id="Gardening">Gardening<br>
<input type="checkbox" name="Hiking" id="Hiking">Hiking<br>
<input type="checkbox" name="Camping" id="Camping">Camping<br>
<input type="checkbox" name="Dancing" id="Dancing">Dancing<br>
<input type="checkbox" name="Yoga" id="Yoga">Yoga<br>
<input type="checkbox" name="Cooking" id="Cooking">Cooking<br>
</form> </body>
</html>
OUTPUT:-
PRACTICAL:-2
<!Registration form-->
<!DOCTYPE html>
<html lang="en">
<input type="text" name="First" id="Last" placeholder="//Enter your last name"><br><br>
Enter your email id:<br>
<input type="text" name="Email" id="Email" placeholder="//Enter your email id"><br><br>
Enter your password:<br>
<input type="password" name="Password" id="Password" placeholder="//Enter your password name" ><br><br>
Select your gender:<br>
<input type="radio" name="Male" id="Male" value="m">Male
<input type="radio" name="Female" id="Female" value="f">Female
<input type="radio" name="Other" id="Other" value="o">Other<br><br>
Enter your phone number:<br>
<input type="text" name="country code" placeholder="countrycode" value="+91" size="2">
<input type="text" name="country code" placeholder="phone no." size="10" required><br><br>
Current Address:<br>
<textarea cols="80" rows="5" placeholder="Current address" value="address" required></textarea><br><br>
Select your course:<br>
<select name="" id="">
<option value="course">Course</option>
<option value="BBA">BBA</option>
<option value="B.Tech">B.Tech</option>
<option value="MBA">MBA</option>
<option value="MCA">MCA</option>
<option value="M.Tech">M.Tech</option>
<option value="Other">Other</option>
</select><br><br>
Select your hobbies:<br>
<input type="checkbox" name="course[]" id="Reading">Reading <br>
<input type="checkbox" name="course[]" id="Gardening">Gardening<br>
<input type="checkbox" name="course[]" id="Hiking">Hiking<br>
<input type="checkbox" name="course[]" id="Camping">Camping<br>
<input type="checkbox" name="course[]" id="Dancing">Dancing<br>
<input type="checkbox" name="course[]" id="Yoga">Yoga<br>
<input type="checkbox" name="course[]" id="Cooking">Cooking<br>
Add your resume: <input type="file" name="Choose file" ><br>
<button type="button" class="btn">Submit</button>
</center>
</form>
</body>
</html>
OUTPUT:-