Skip to content

Instantly share code, notes, and snippets.

@mkhlz
Created March 4, 2026 12:18
Show Gist options
  • Select an option

  • Save mkhlz/0bbd472f9bc090701c87c1ee00fac1bc to your computer and use it in GitHub Desktop.

Select an option

Save mkhlz/0bbd472f9bc090701c87c1ee00fac1bc to your computer and use it in GitHub Desktop.

Class XII — Information Technology

Question Paper

Total Marks: 100 | Time: 3 Hours

All questions are compulsory. Read each question carefully before answering.


Section A — Fill in the Blanks

(10 Questions × 1 Mark = 10 Marks)

  1. SEO stands for _________________.
  2. _________________ are links on one website that, when clicked, take the user to another site.
  3. The two broad techniques of SEO are White Hat SEO and _________________ SEO.
  4. The <img> tag uses the _________________ attribute to provide information about the image, even if it does not download.
  5. CSS stands for _________________.
  6. The _________________ selector acts as a wildcard character and selects all elements on a webpage.
  7. <input type="______"> defines a color picker in HTML5.
  8. The _________________ tag defines an ordered list in HTML5.
  9. An image with multiple hyperlinks is called an _________________.
  10. The _________________ element creates an inline frame in HTML5.

Section B — True or False

(10 Questions × 1 Mark = 10 Marks)

  1. HTML is an Object Oriented Programming Language. (True / False)
  2. SEO is a subset of search engine marketing. (True / False)
  3. Black Hat SEO techniques are recommended by search engines as part of good design. (True / False)
  4. The <meta> tag is placed between the <body> and </body> tags. (True / False)
  5. The charset attribute in <meta> is used for character encoding declaration. (True / False)
  6. An unordered list can be numerical or alphabetical. (True / False)
  7. A multilevel nested list can be created in HTML5. (True / False)
  8. The controls attribute in <audio> adds play, pause, and volume controls. (True / False)
  9. A website's mobile friendliness has become a ranking factor for Google. (True / False)
  10. External CSS uses the <style> tag written inside the <head> section of the HTML document. (True / False)

Section C — Multiple Choice Questions (Single Correct Answer)

(10 Questions × 1 Mark = 10 Marks)

  1. Which HTML tag is used to embed audio files on webpages?

    a) <sound> b) <audio> c) <video> d) <embedded>

  2. Which element is used to define clickable regions within a client-side image map?

    a) <img> b) <td> c) <area> d) <usemap>

  3. Which character is used to define an id selector in CSS?

    a) % b) $ c) @ d) #

  4. Which HTML5 input type defines a date picker with year, month, and day?

    a) <input type="month"> b) <input type="week"> c) <input type="date"> d) <input type="time">

  5. What is the default range of <input type="range"> in HTML5?

    a) 1 to 50 b) 0 to 100 c) 0 to 50 d) 1 to 100

  6. Which CSS positioning property keeps an element fixed on the browser window even when the page is scrolled?

    a) relative b) absolute c) static d) fixed

  7. Off-Page SEO includes which of the following?

    a) Good keyword selection in titles b) Link building and increasing link popularity c) Use of heading tags d) Meta description optimization

  8. Which tag is used to specify multiple media sources for <audio> and <video> elements?

    a) <media> b) <src> c) <source> d) <resource>

  9. Which CSS property is used to control the flow of content around elements?

    a) display b) position c) float d) margin-left

  10. Which type of CSS is applied using the style attribute directly within an HTML tag?

    a) External CSS b) Embedded CSS c) Inline CSS d) Internal CSS


Section D — Multiple Choice Questions (Two Correct Answers)

(5 Questions × 2 Marks = 10 Marks)

Choose two correct answers for each question.

  1. Page content optimization can be done by placing keywords in: (Choose 2)

    a) <font> b) <title> c) <hr> d) <meta> e) <input>

  2. Other factors that help rank a website higher in search engines are: (Choose 2)

    a) Desktop friendly only b) Speed of the website c) Creating robots.txt d) No backlinks e) No external links

  3. A CSS rule set contains: (Choose 2)

    a) Set b) Selector c) Post d) Declaration block e) < >

  4. A client-side image map is created using which two HTML elements? (Choose 2)

    a) <area> b) <image> c) <usemap> d) <map> e) <server>

  5. Image Maps are of which two types? (Choose 2)

    a) Network Side b) Client Side c) Computer Side d) Server Side e) n-computing


Section E — Multiple Choice Questions (Three Correct Answers)

(5 Questions × 3 Marks = 15 Marks)

Choose three correct answers for each question.

  1. Attributes of the <area> tag include: (Choose 3)

    a) href b) src c) coords d) data e) alt f) usemap

  2. Valid attributes used with the <audio> tag are: (Choose 3)

    a) autoplay b) href c) controls d) cntrl e) loop f) bgsound

  3. The following are valid HTML5 form input controls: (Choose 3)

    a) email b) search c) label d) video e) tel f) audio

  4. The three types of CSS are: (Choose 3)

    a) internal b) external c) control d) inline e) loop f) style

  5. Valid positioning types in CSS are: (Choose 3)

    a) Static b) Fixed c) Absolute d) position e) Dynamic f) Nested


Section F — Match the Following

(2 Questions × 5 Marks = 10 Marks)

Each question has 5 items in Column A. Match each with the correct option from Column B. (Note: Column B has 7 choices — 2 are extra.)

Question 41 — SEO Concepts

Column A Column B
1. Optimizing images using descriptive text a) Social Media Optimization
2. Links from Twitter, Facebook pointing to your site b) Black Hat SEO technique
3. Technique that search engines recommend as part of good design c) alt attribute
4. Duplicate content and invisible/stuffed keywords d) Backlinks
5. Links on other websites that, when clicked, bring users to your site e) White Hat SEO
f) Keyword stuffing
g) Off-Page link exchange

Question 42 — HTML5 and CSS Concepts

Column A Column B
1. <ul> a) Client-side image map pointer
2. usemap attribute b) CSS Property for text color
3. color c) Creates a bulleted list
4. <img> d) Defines an image as a submit button
5. <input type="image"> e) Inserts an image on a webpage
f) Defines an ordered list
g) Used for character encoding

Section G — Brief Answer Questions

(5 Questions × 5 Marks = 25 Marks)

  1. Define SEO. State and explain the two types of SEO. (5 marks)

  2. Explain White Hat SEO and Black Hat SEO techniques. Give at least two strategies for each. (5 marks)

  3. Explain any four CSS properties from the following with their syntax and usage: color, font-size, background-color, text-align, border, padding. (5 marks)

  4. Explain the <meta> tag in HTML5. Describe any three of its attributes with examples. (5 marks)

  5. Explain Social Bookmarking and Social Media Optimization (SMO) as SEO strategies. How do they help improve website ranking? (5 marks)


Section H — Coding / Practical Questions

(2 Questions × 5 Marks = 10 Marks)

  1. Write an HTML5 program using internal CSS and semantic tags to create a webpage layout with the following specifications: (5 marks)
  • A <header> with pink background colour and 100% width
  • A <nav> bar with skyblue background colour and 100% width
  • An <aside> section floated right with grey background (40% width)
  • A <footer> with orange background and 100% width
  1. Write an HTML5 program to create a registration form with the following fields and validations: (5 marks)
  • Name: text input with autocomplete
  • Email: email type input
  • Date of Birth: date type input
  • Office Phone: tel type input with pattern [0-9]{2}-[0-9]{10} and required
  • A submit button using an image (<input type="image">)

--- End of Question Paper ---

Section Type Questions Marks Each Total
A Fill in the Blanks 10 1 10
B True or False 10 1 10
C MCQ (1 correct) 10 1 10
D MCQ (2 correct) 5 2 10
E MCQ (3 correct) 5 3 15
F Match the Following 2 × 5 1 10
G Brief Answers 5 5 25
H Coding Practical 2 5 10
Total 100
@mkhlz
Copy link
Author

mkhlz commented Mar 4, 2026

Class XII — Information Technology

Answer Key with PDF Source References


Section A — Fill in the Blanks (1 mark each)

Q# Answer PDF Source
1 Search Engine Optimization PDF 1 (SEO), Page 27, Section 2.1
2 Backlinks PDF 1 (SEO), Page 30, Section 5 — SEO Backlinks
3 Black Hat PDF 1 (SEO), Page 28, Section 2.3
4 alt PDF 1 (SEO), Page 29, Section 1 — Image Tags with ALT attribute
5 Cascading Style Sheets PDF 2 (Web Design), Page 5, Section 1.4
6 Universal (*) PDF 2 (Web Design), Page 9 — Universal Selector
7 color PDF 2 (Web Design), Page 1 — HTML5 advanced <input> elements table
8 <ol> PDF 2 (Web Design), Page 13, Section 1.5
9 Image map PDF 2 (Web Design), Page 19, Section 1.9
10 inline frame PDF 2 (Web Design), Page 20–21, Section 1.10

Section B — True or False (1 mark each)

Q# Answer Explanation PDF Source
11 False HTML is a markup language, not OOP PDF 2, Page 24, Q2 Exercise
12 True SEO is a subset of search engine marketing PDF 1, Page 27, Section 2.1
13 False Black Hat techniques are NOT recommended by search engines PDF 1, Page 28, Section 2.3
14 False <meta> is placed between <head> and </head> PDF 2, Page 4, Section 1.3
15 True Charset is used for character encoding declaration PDF 2, Page 4 — Attribute table of <meta>
16 False Ordered list can be numerical or alphabetical, not unordered PDF 2, Page 13, Section 1.5
17 True Multilevel nested lists are supported in HTML5 PDF 2, Page 16 — Multi level list
18 True The controls attribute displays play, pause, and volume PDF 2, Page 17–18, Section 1.8
19 True Mobile friendliness is a Google ranking factor PDF 1, Page 30, Section 6
20 False External CSS uses a .css file linked with <link> tag; internal CSS uses <style> in <head> PDF 2, Page 5–7, Section 1.4

Section C — MCQ Single Correct (1 mark each)

Q# Answer PDF Source
21 b) <audio> PDF 2, Page 17, Section 1.8 — <Audio> Tag
22 c) <area> PDF 2, Page 20, Section 1.9 — <area> tag definition
23 d) # PDF 2, Page 8 — CSS Id Selector
24 c) <input type="date"> PDF 2, Page 1 — HTML5 advanced <input> elements table
25 b) 0 to 100 PDF 2, Page 2 — Input type table: <input type="range">
26 d) fixed PDF 2, Page 10 — Fixed Positioning
27 b) Link building and increasing link popularity PDF 1, Page 27, Section 2.2 — Off-Page SEO
28 c) <source> PDF 2, Page 18 — <source> tag
29 c) float PDF 2, Page 11 — Float Property
30 c) Inline CSS PDF 2, Page 5–6, Section 1.4 — Inline stylesheet

Section D — MCQ Two Correct (2 marks each)

Q# Answer PDF Source
31 b) <title>, d) <meta> PDF 1, Page 34 — Exercise Q2 (Choose correct)
32 b) Speed of the website, c) Creating robots.txt PDF 1, Page 30–31, Section 6 + Page 34 Exercise
33 b) Selector, d) Declaration block PDF 2, Page 5 — CSS Syntax
34 a) <area>, d) <map> PDF 2, Page 19–20, Section 1.9
35 b) Client Side, d) Server Side PDF 2, Page 19, Section 1.9

Section E — MCQ Three Correct (3 marks each)

Q# Answer PDF Source
36 a) href, c) coords, e) alt PDF 2, Page 20 — Attributes of <area> table
37 a) autoplay, c) controls, e) loop PDF 2, Page 17 — Attributes of <audio> tag table
38 a) email, b) search, e) tel PDF 2, Page 1–2 — HTML5 advanced <input> elements table
39 a) internal, b) external, d) inline PDF 2, Page 5 — Types of CSS
40 a) Static, b) Fixed, c) Absolute PDF 2, Page 10 — Four types of positioning in CSS

Section F — Match the Following (1 mark per correct match)

Question 41 — SEO Concepts

Column A Item Correct Match PDF Source
1. Optimizing images using descriptive text c) alt attribute PDF 1, Page 29 — Image Tags with ALT attribute
2. Links from Twitter/Facebook pointing to your site a) Social Media Optimization PDF 1, Page 30, Section 4 — SEO-SMO
3. Technique search engines recommend as good design e) White Hat SEO PDF 1, Page 28, Section 2.3
4. Duplicate content and invisible/stuffed keywords b) Black Hat SEO technique PDF 1, Page 28 — Black Hat Strategies
5. Links on other websites bringing users to your site d) Backlinks PDF 1, Page 30, Section 5 — SEO Backlinks

Question 42 — HTML5 and CSS Concepts

Column A Item Correct Match PDF Source
1. <ul> c) Creates a bulleted list PDF 2, Page 14, Section 1.6
2. usemap attribute a) Client-side image map pointer PDF 2, Page 19, Section 1.9
3. color b) CSS Property for text color PDF 2, Page 6 — CSS Properties table
4. <img> e) Inserts an image on a webpage PDF 2, Page 19, Section 1.9
5. <input type="image"> d) Defines an image as a submit button PDF 2, Page 1 — HTML5 advanced <input> table

Section G — Brief Answers (5 marks each)

Q# Key Points for Full Marks PDF Source
43 SEO = Search Engine Optimization; technique to rank high in search results; subset of SEM; increases visitors. Two types: On-Page SEO (keywords, title, meta, heading tags) and Off-Page SEO (link building, directories, link exchange). PDF 1, Page 27, Sections 2.1 and 2.2
44 White Hat: Relevant content, well-labeled images, relevant links, proper spelling/grammar, standard-compliant HTML, unique page titles. Black Hat: Duplicate content, invisible/stuffed keywords, cloaking/redirecting, links from non-relevant sites. PDF 1, Page 28, Section 2.3
45 Any four from CSS properties table — color (text color), font-size (controls font size in px/pt etc.), background-color (sets page background), text-align (left/right/center/justify), border (solid/double/dotted etc.), padding (blank space around content). Must include values and example. PDF 2, Pages 6–7 — CSS Properties table
46 <meta> tag describes aspects of a webpage; used by search engines; placed in <head>; singular/empty tag; not displayed on page. Attributes: name (author/description/keywords/copyright), content (value for name), charset (UTF-8/Big5 for encoding), http-equiv (refresh/set-cookie/expires). Example code required. PDF 2, Pages 3–5, Section 1.3
47 Social Bookmarking: Saves/organizes/shares website links; useful for Off-Page SEO; creates high-quality backlinks; helps rank higher in search engines. SMO: Uses Facebook, Twitter, blogs, forums to enhance ranking; builds familiarity and trust when communities link to your website. PDF 1, Page 30, Sections 3 and 4

Section H — Coding Practical (5 marks each)

Q48 — Model Answer

<!DOCTYPE html>
<html>
<head>
<style>
  header { background-color: pink; width: 100%; height: 20%; }
  nav { background-color: skyblue; width: 100%; height: 20%; }
  aside { background-color: grey; width: 40%; height: 42%; float: right; }
  section { background-color: lightyellow; width: 60%; height: 10%; float: left; }
  article { background-color: violet; width: 60%; height: 40%; }
  footer { background-color: orange; width: 100%; height: 10%; }
</style>
</head>
<body>
  <header><h1>HTML5 includes new semantics</h1></header>
  <nav>Navigation links here</nav>
  <aside><h2>Sidebar Content</h2></aside>
  <section><h2>Main Section</h2></section>
  <article><p>Article content here</p></article>
  <footer>© 2024 My Website</footer>
</body>
</html>

PDF Source: PDF 2, Pages 12–13, Example 1 — Use of semantic tags and CSS


Q49 — Model Answer

<!DOCTYPE html>
<html>
<head>
  <title>Registration Form</title>
</head>
<body>
<form>
  Name: <input type="text" autocomplete><br><br>
  E-mail: <input type="email" name="email"><br><br>
  Date of Birth: <input type="date" name="dob"><br><br>
  Office Phone: <input type="tel" name="phone"
    pattern="[0-9]{2}-[0-9]{10}" required><br><br>
  <input type="image" src="submitbutton.png"
    alt="Click here to submit">
</form>
</body>
</html>

PDF Source: PDF 2, Page 3 — Forms in HTML5 example code


Mark Distribution Verification

Section Marks
A — Fill in the Blanks (10 × 1) 10
B — True or False (10 × 1) 10
C — MCQ Single Correct (10 × 1) 10
D — MCQ Two Correct (5 × 2) 10
E — MCQ Three Correct (5 × 3) 15
F — Match the Following (2 × 5) 10
G — Brief Answers (5 × 5) 25
H — Coding Practical (2 × 5) 10
Grand Total 100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment