Page 207 - Web Applications (803) Class 11
P. 207
27. You are creating a web form to allow visitors to sign up for a mailing list. The form will collect the information that is
shown in the following screenshot: [CBSE Sample Paper, 2022]
Select the answer choice that answers the question based on the information presented in the screenshot.
Which code segment will display the form element labelled A?
i. <input type=”radio” name=”firstname”>
ii. <input type=”text” name”checkbox>
iii. <input type=”checkbox” name=”subscribe” value =”Yes”>
iv. <input type=”text” name=”Yes”>
28. The following statements are given according to CSS. Select the statement which is True. [CBSE Sample Paper, 2022]
i. Percent and EM are relative measurements and the size of each depends on its parent.
ii. Pixels are recommended units for specifying size.
iii. The font-family attribute helps ensure maximum compatibility between two browsers.
iv. A CSS comment starts with /* and ends with */
29. You are defining CSS classes to style text in your HTML document. [CBSE Sample Paper, 2022]
You need to format section titles to look like the following example:
Which CSS attributes should you use to define each setting?
i. Arial font-style ii. Arial font-family
Italic font-family Italic font-style
100 font-size 100 font-weight
Large font-weight Large font-size
iii. Arial font-size iv. Arial font-weight
Italic font-weight Italic font-style
100 font-family 100 font-size
Large font-style Large font-family
Website Development using HTML and CSS 205

