This document is an answer key for a computer science test containing multiple choice questions, short answer questions, and definitions. It covers topics like HTML tags, CSS properties, and dynamic vs static webpages. Some key points covered are:
- HTML tags like <ul>, <ol>, <img>, and their attributes
- CSS properties for text formatting, images, borders, and lists
- The difference between inline, internal, and external CSS stylesheets
- Properties that control text alignment, background images, fonts, and margins
- Tags and properties for description lists like <DL>, <DT>, <DD>
- Properties that define line breaks, text indentation, and list styles
- The definition of nested lists
This document is an answer key for a computer science test containing multiple choice questions, short answer questions, and definitions. It covers topics like HTML tags, CSS properties, and dynamic vs static webpages. Some key points covered are:
- HTML tags like <ul>, <ol>, <img>, and their attributes
- CSS properties for text formatting, images, borders, and lists
- The difference between inline, internal, and external CSS stylesheets
- Properties that control text alignment, background images, fonts, and margins
- Tags and properties for description lists like <DL>, <DT>, <DD>
- Properties that define line breaks, text indentation, and list styles
- The definition of nested lists
This document is an answer key for a computer science test containing multiple choice questions, short answer questions, and definitions. It covers topics like HTML tags, CSS properties, and dynamic vs static webpages. Some key points covered are:
- HTML tags like <ul>, <ol>, <img>, and their attributes
- CSS properties for text formatting, images, borders, and lists
- The difference between inline, internal, and external CSS stylesheets
- Properties that control text alignment, background images, fonts, and margins
- Tags and properties for description lists like <DL>, <DT>, <DD>
- Properties that define line breaks, text indentation, and list styles
- The definition of nested lists
Class: VII Subject: Computer Science MM: 50 Date: 10/12//2020 Time: 1 ½ hour 1. Fill in the blanks- (1*5=5) i. Rule ii. Dynamic webpage iii. Selector iv. text-align v. font-style 2. State True/ False (1*5=5) i. False ii. False iii. False iv. False v. True 3. Answer the following questions in 10-20 words- (2*6=12) i. Ordered list is used to display the list in a sequence whereas unordered list is used to when the sequence is not mandatory. (1 mark) <UL>,<OL> (1 mark) ii. alt attribute is used as alternate text when a browser is unable to display the picture. (2 marks) iii. float property is used to align an image with respect to the text. (1.5 marks) <img style=”float:left”> (0.5 marks) iv. start attribute is used to initiate the list other than 1. reversed attribute is used to display the list in descending order. v. list-style-position- is used to specify the position of the images taken as list item marker. (1 mark) Values- inside/outside. (1 mark) vi. In Static webpage the contents of the web page remain constant for all the visitors. Dynamic webpages are loaded on the request of the user. (1 mark each) 4. Answer the following questions in 20-30 words- (3*5=15) i. Src – it is used to provide the source /URL of the image to be inserted. Height- is used to specify the height of image in pixels or percentage. Weight- is used to specify the width of image in pixels or percentage. ii. Border properties- 1. Border-color: this property is used to provide color to the border. Value- any color, rgb value. 2. Border-width: specify the thickness of the border. Value- can be pixels, percentage 3. Border-style- used to provide a style to border. Values- dashed, dotted etc. (1 mark each) iii. Text-decoration provides styles to the text to make it decorative. Values-overline, underline Text-transform is used to change the case of text. Values- uppercase, lowercase, capitalize iv. In inline stylesheet style is defined with each element whereas internal style sheet is used to implement the same style on same elements in a single webpage. (1 mark each) Syntax- Inline- <p style=”color:red”} Internal- <Style type=”text/css”> P{color:red} </Style> (1 mark) v. Properties- Background-repeat: it is used to decide that whether background picture should be repeated or not. Values- repeat,no-repeat,repeat-x,repeat-y Font-family- is used to set the font type. Values- arial, times new roman. Margin- is used to set the space between the content and border of the webpage. Values- can be in percentage, pixels (1 mark each) 5. Answer the following questions in 30-40 words- (4*2=8) i. Description list is used to present a glossary, list of terms etc. Three tags are required in description list. (1 mark) <DL>,<DT>,<DD> (1 mark each) ii. list-style-type property is used to change the style of an ordered and unordered list. (1 mark) values of list-style-type property of ordered list- decimal, upper-roman, lower- roman, upper-alpha, lower-alpha (1 mark) values of list-style-type property of unordered list- disc, circle, square.(1 mark) default value for <OL> is – decimal. default value for <UL> is – disc (0.5 mark each) 6. Define the following properties- (1*5=5) i. word-break: specify the line breaking rules. ii. text-indent-sets he indentation of the first line. iii. Declaration- property and its value is collectively called as declaration. iv. Nested list- a list inside another list. v. DHTML- Dynamic hypertext markup language helps in creating dynamic webpages.. It is combination of HTML,CSS, DOM, JavaScript. (1 mark each)