Page 403 - Web Applications (803) Class 11
P. 403
<style>
body {background-color: blue;}
h1 {color: white;}
p {color: red;}
</style>
</head>
<body>
<h1>HELLO</h1>
<p>I am writing a paragraph.</p>
</body>
</html>
To convert the above code to an external style sheet what changes should Amit make?
(a) Link this file to the <head> section of each HTML page
(b) Link this file to the <title> section of each HTML page
(c) Link this file to the <body> section of each HTML page
(d) None of the above
iii. ................................ prevents illegal access to or from a network. 1
(a) Virus (b) Cookie
(c) Firewall (d) Router
iv. Each image that is open in GIMP is presented in its own window. (True/False) 1
v. The ................................ keyword is used to declare a constant in JavaScript. 1
(a) var (b) const
(c) prompt( ) (d) let
vi. Which kind of linking is shown in the code given below: 1
<A href=’#Top’> Top </A>
(a) Internal Linking (b) External Linking
(c) Web Link (d) None of the above
vii. Identify the correct way of creating a textbox in HTML 1
(a) <input type = “checkbox”> (b) <input type = “button”>
(c) <input type = “text”> (d) <textbox>
Q 3. Answer any 6 out of the given 7 questions. (1 × 6 = 6 marks)
1
i. Which of the following has the highest priority in CSS? 1
(a) Internal style (b) External CSS
(c) Inline style (d) Classes
ii. Which of the following is NOT a cyber-crime? 1
(a) Harassment by e-mail, text messages, or social media.
(b) Posting offensive content to a person on a website.
(c) Downloading homework from school website.
(d) Using the Internet to defame my classmate.
iii. ................................ is called composite data type. 1
iv. Name any two GIMP filters. 1
Sample Question Paper 401

