M.G.
R COLLEGE, HOSUR - 635130
DEPARTMENT OF COMPUTER SCIENCE
MODEL EXAM – APRIL/MAY 2025
Class: I B.Sc.(CS) ‘A’,‘B’&‘C’ Sec Maximum Marks: 75 Time: 3 hrs
Subject Code:
Subject Title: Introduction to HTML Date:17/04/2025
23UCSS02
Section – A 15 x 1 = 15 Marks
I. Choose the correct answer
1. What does HTML stand for?
a) Hyper Text Makeup Language b) High Text Markup Language c) Hyper Text
Markup Language d) None of the above
2. Which tag is used to display a horizontal line in HTML?
a) <line> b) <hr> c) <br> d) <tr>
3. Which tag is used to insert an image in HTML?
a) <image> b) <pic> c) <img> d) <src>
4. The <b> tag makes text:
a) Italic b) Bold c) Underlined d) None
5. Which tag defines the main content of an HTML document?
a) <main> b) <body> c) <html> d) <head>
6. What does the <marquee> tag do?
a) Display alert box b) Display scrolling text c) Insert image d) Display form
7. Which attribute is used to provide alternate text for an image?
a) title b) name c) alt d) src
8. The <ol> tag is used to create:
a) Ordered list b) Unordered list c) Definition list d) Bullet list
9. What tag is used to define a row in a table?
a) <td> b) <tr> c) <th> d) <table>
10. Which attribute is used to merge cells in a table horizontally?
a) rowspan b) merge c) align d) colspan
11. Which tag is used to create hyperlinks?
a) <link> b) <a> c) <href> d) <hyper>
12. What does the <head> tag contain?
a) Main content b) Metadata c) Scripts and styles d) Both b and c
13. The <form> tag is used to:
a) Create frames b) Add images c) Create interactive forms d) Display content
14. What is the correct tag for creating a drop-down list?
a) <dropdown> b) <list> c) <select> d) <option>
15. What tag is used for a line break in HTML?
a) <lb> b) <break> c) <br> d) <linebreak>
Section – B 2 x 5 = 10 Marks
II. Answer any two questions.
Write a short note on different types of web browsers.
16.
Explain the use of <head>, <body>, and <html> tags.
17.
List and explain the different types of lists in HTML.
18.
Explain the use of <marquee>, <br>, and <hr> tags
19.
Describe the <form> tag and its commonly used input types.
20.
Section – C 5 x 10 = 50 Marks
III. Answer the questions choosing either (a) or (b).
a) Explain the structure of an HTML document with a sample code.
OR
21.
b) Write short notes on Internet, Web browsers, and Web pages.
a) Explain the use of block-level tags and font style elements in HTML with examples.
OR
22.
b) Describe the purpose of <head>, <body>, and <html> tags with example HTML
a) Create an HTML page that demonstrates ordered, unordered, and nested lists.
23. OR
b) Write an HTML code using the following: <marquee>, <hr>, <br>, <img>, and <a>
a) Write HTML code to create a table with 3 rows and 3 columns demonstrating rowspan and
colspan with alignment.
24. OR
b) Explain table elements such as <caption>, <tr>, <td>, <th> and how cell padding is applied.
a) Create an HTML form with input fields for name, email, gender (radio buttons), and address
(textarea), including a submit button.
OR
25.
b) Explain the concept of frames in HTML. Demonstrate how to use <frameset>, targeted
links, and <noframes>