PROGRAMMING QUESTIONS
Q1. Write a html program to accept Student Id (combination of alphabets and numbers),
date of joining College, Percentage in previous class (in digits). The data should be sent to
the server.
Q2. Write a Html program to design a Form to accept
1) Patient Id (Combination of alphabets and numbers).
2) Date of admission in the hospital.
3) No. of days admitted (Only number)
4) Mode of Bill Payment: Cash/Credit Card/UPI (Only one)
5) Submit the form.
Q3. Write a html program using Internal CSS to display two paragraphs. The first paragraph
should have a cyan background color and second should have yellow text color with blue
background color. (Write topic of your choice in Paragraph)
Q4. Write Html program to create a form to accept Patient’s name, his mobile number and
date of birth. Keep all fields compulsory.
Q5. Write a Html program to accept Name of the Employee (cannot be blank), Email Id of
the Employee, Gender of the Employee (Male or Female). The data should be sent to the
server.
Q6. Write a Html program to create an ordered list of Tea and Coffee and Unordered list
under Tea as Black Tea and Green Tea.
Q7. Write HTML code to design a FORM with the following:
1) Create drop down list for Title with values Shri/Smt.
2) Enter your name
3) Select your Gender: Male/Female
4) Do you have smart phone? Yes/No
5) Do you have the following devices: Laptop, Desktop, Tab, None of these.
(User may select more than one option.
Q8. Write a Html program to create an ordered list having names of two friends. Add
unordered list of their hobbies under each name.
(The paragraph code should display nested list)
Q9. Write a html program to display “Information Technology” in yellow colour and arial font
using internal CSS. Add my two sentences about “IT” subject below in green color.
Q10. Write HTML program to create an ordered list having names of two friends. Add nested
unordered list of their hobbies under each name.
Q11. Write Html code to design a FORM with the following:
1) Create drop down list for Title with values: Mr / Mrs/ Miss / Ms/ Dr.
2) Enter your name
3) Select your Gender: Male/Female
4) Do you like playing computer games? Yes/ No
5) Select your hobbies: Dancing, Signing, Reading. swimming, None of these.
(User may select more than one option.)
Q12. Write a Html program using internal CSS to display two paragraphs. The first paragraph
should have cyan background color and second should have yellow text color with blue
background color.
(Write topic of your choice paragraph)
Q13. Write a html program to design a Bank Account Opening FORM
1) Select Account Type from the drop-down list (Saving/Current/Fixed Deposits etc.)
2) Type your name
3) Select Your Date of Birth
4) Select your Gender. (Male/Female) (Only one)
5) Submit the form
Q14. Write a Html program to create an ordered list having names of two friends. Add
unordered list of their hobbies under each name.
(The program code should display nested list).
Q15. Write a HTML code to display a list of any 3 scientisr names (e.g. C.V. Raman, A.P.J
Abdul Kalam, Vikram Sarabahi having alphabetical numbering (e.g. A…….B……C) using
relevant list tags.
Q16. Write a html program to create a form to accept student’s name, number of practicals
he has completed and provide facility to upload his completion certificate.
Q17. Write HTML code to design a ADMISSION FORM with the following:
1) Enter Student’s name
2) Select Your Date of Birth: from the calender:
3) Select your Gender: Male/ Female
4) Do you have School Leaving certificate/Birth certificate/Transfer certificate/ None of
these (User may select more than one options)
5) Select your state from the drop-down list: Maharashtra/ Karnatka/Gujarat/ None of
these.
Q17. Write a html program using Internal CSS to display the word “Cyber Crime”
1) Give Courier font
2) Give Background color to the text cyan.
3) Apply a suitable border
Q18. Write HTML code to design a FORM with the following:
1) Enter Your Name
2) Enter AADHAR number
3) Select your Gender: Male/Female
4) Do you have: Passport/ Ration-card/ Domestic certificate/ None of these
(User may select more than one option)
5) Type your address: Note: AADHAR number is a sensitive information should not be
displayed as text and Address should type in multiline textbox.
Q19. Write a Html program to design a PATIENT ADMISSION FORM
1) Select Patient Id from the drop-down list (OPD101, OPD102, OPD103)
2) Select Patient’s Date of birth
3) Type Name of the Doctor
4) Room Type preferred: General/ Private (Only one) submit the form.
Q20. Write a html program to insert inline frame on web page. Use [Link] file as a source
for inline frame Size of inline frame should be 300 x 300 pixels.
Q21. Write a html program to display “Digital World” having underline using inline CSS. Add
an ordered list having any two advantages of it.
Q22. Write a html program to accept teacher name(compulsory field) , teaching for standard
in number, date of joining and email ID of the teacher.
Q23. Write a html code to display a list of any 4 author names in ordered list using relevant
list tags ([Link] P.L. Deshpande, Kusumagraj, Chetan Bhagat) in roman numbering I, II,
III , ……
Q24. Write a html program to create an ordered list of 3 languages used for speaking and
unordered list having 2 computer languages.
Q25. Write a html program to accept Name of the College, Total number of students in the
college, total number of halls (range till 100), The data should be sent to the server.