0% found this document useful (0 votes)
12 views4 pages

HTML Practice Questions

The document contains a series of HTML coding questions focused on creating various forms and displaying content using CSS. It includes tasks for accepting user input for different scenarios such as college details, employee information, and hospital data, as well as styling text and creating lists. Additionally, it covers the use of inline frames and nested lists, providing a comprehensive exercise set for practicing HTML and CSS skills.
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)
12 views4 pages

HTML Practice Questions

The document contains a series of HTML coding questions focused on creating various forms and displaying content using CSS. It includes tasks for accepting user input for different scenarios such as college details, employee information, and hospital data, as well as styling text and creating lists. Additionally, it covers the use of inline frames and nested lists, providing a comprehensive exercise set for practicing HTML and CSS skills.
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
You are on page 1/ 4

I.T.

Board Coding Questions (HTML)


Form & Form Restrictions
1) 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.
2) Write a html program to accept Name of the Employee (cannot be blank), Email Id of
the Employee, Salary (maximum 50000). The data should be sent to the server.
3) Write a html program to create a form to accept Doctor's name, number of patients
(maximum 20), Date of examining patients.
4) Write a html program to create a form to accept Patient's name, his mobile number and
date of birth. Keep all fields compulsory.
5) 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.
6) Write a html program to create a form to accept students roll no (in number format),
Unit test marks (maximum 25 marks), Terminal exam marks (maximum 50 marks).
Include the name of the Subject teacher and send the data to the server.
7) Write a html program to accept Student ID (combination of alphabets and numbers),
date of joining, College name, percentage in previous class (in digits). The data should
be sent to the server.
8) Write a html program to enter Travel Details as follows : Name of the Hotel, Date of
check-in, Number of members (compulsory field). The data should be sent to server.
9) Write a html program to create registration form to accept name, mobile no., date of
birth. The form should have register caption in the button to submit the data.
10) Write a html program to create Registration Form to accept Name, Mobile no
(with pattern restriction) and Date of Birth. The form should have REGISTER written
on the button to submit the data.
11) Write html program to accept Name of the hospital, Email Id of the hospital,
Number of beds in the hospital. The data should be sent to the server.
12) Write a html program to accept following information from the user. 1) Name of
the hospital 2) Email Id of the hospital 3) Number of beds in the hospital 4) Nature of
the Hospital (Private or Government). The data should be sent to the server.
13) Write a html program to accept Email Id of the Hotel, Date of Foundation,
Number of tables in hotel. The data should be sent to the server.
14) Write html program to create a form to accept students roll no (in number format),
Unit test marks(maximum 25 marks), Terminal exam marks (maximum 50 marks).
Include the name of the Subject teacher and send the data to the server.
15) Write html program to accept student name, Date of birth(compulsory field) and
attendance (in number form). Send the data to the server.

CSS (Cascading style sheet)


16) Write a html program to display "Digital India" in Verdana font using internal
CSS. Add any two sentences about Digital India below in orange color.
17) Write a html program to display "Digital India" having underline using inline
CSS. Add any two sentences about IT subject below having yellow color background
for the text.
18) Write a html program to display "Maharashtra State Board" in blue color and font
size 30 pixels using internal CSS. Give background colour yellow for the web page.
19) Write a html program to display State Government of India in red color and font
size 30 pixels and align to the center. Give background color yellow for the webpage.
Use External CSS.
20) Write a html program to display Cyber Millennia having Arial font and dotted
border. Add any two advantages in blue color text. Use internal CSS to achieve the same.
21) Write a html program to display "Maharashtra State Board" in font size 40 pixels
using internal CSS. Give background colour yellow for the same text.
22) Write a html code to display Good Morning having bold effect and underline.
Also display Welcome to our page centrally in 30 pixel font size. Use inline CSS to
achieve the above.
23) Write a html program to display Ecommerce having Arial font using inline CSS.
Add an ordered list having any two advantages of it.
24) Write a html program to display "Web designing" in italic format and having
underline using internal CSS. Add any two sentences about web designing in green
color.
25) Write a html code to display scientist name Homi J Bhabha having text color blue,
underling the same and align it to the center of the page using internal CSS.
26) Write a html program to display SAVE WATER SAVE EARTH in blue color with
dotted border and 30px font size. Add any two sentences about how to save water in a
paragraph in green color. Use internal CSS to achieve the same.
27) Write html program to display Information Technology in bold format and Times
New Roman font. Add any two sentences about IT subject below in orange color. Use
inline CSS.
28) Write html program to two paragraphs and display first paragraph should have
cyan background color and second should have yellow text color with blue background
color.

<IFRAME> (Inline Frame)


29) Write a html program to insert inline frame on web page. Use xyz html file as a
source for inline frame. Size of inline frame should be 100x100 pixels.
30) Write html program to insert inline frame on web page. Use xyz html file as a
source for inline frame. Size of inline frame should be 300 x 300 pixels.

Listing Tags (Ordered & Unordered + Nested Lists)


31) Write a html program to create a list of 3 flowers in ordered list and list of 3 fruits
in unordered list.
32) Write a html code to display a list of any 4 author names in ordered list using
relevant list tags (e.g. author P.L. Deshpande, Kusumagraj, Chetan Bhagat) in roman
numbering I, II, III ….
33) Write a html program to create an ordered list of Tea and Coffee and unordered
list under Coffee as Black Coffee and cold Coffee.
34) Write a html program to create an ordered list of Tea, Coffee and Milk and
unordered list under Milk as Turmeric Milk and Hot Chocolate.
35) Write a html program to create an ordered list of Waffles and Cake Shake and add
Orea and Salted Caramel in unordered listing under Cake Shake.
36) Write a html program to create an unordered list having names of two students.
Add in ordered list 2 subjects that they have selected in FYJC below each of their names.
37) Write a html program to create an ordered list of 3 courses (FYBCom, SYBCom,
TYBCom) in Bhaktivedanta College and under each stream mention 3 subjects taught
in Unordered listing.
38) Write a html program to create an ordered list of 3 cities and under each city
mention names of 3 banks in unordered list. Give heading as Metropolitan Banks.
39) Write a html program to create an Ordered list having two streams Commerce
and Science. Under each stream enter 2 classes FYJC and SYJC in Unordered listing.
40) Write html program to create an ordered list of 3 languages used for speaking and
unordered list having 2 computer languages.
41) Write html program to display names of two friends in ordered list and also
display their hobbies under their name in unordered list.
42) Write html program to create an unordered list having names of two students. Add
ordered list of subjects they selected.
43) Write a html program to create nested list having names of two students. Add
ordered list of 3 subjects that they have selected under each name.

**********

You might also like