Here are the multiple choice questions composed from HTML Paragraph Formatting chapter of HTML Tutorial Series for 2016 PSC Exam Preparation. This page contains MCQ Questions from this chapter and I will provide correct answers of previous session. The correct answers of this session will be presented in next session page.
Please visit following link if you did not study the chapter before you attempt to solve these questions.
https://mcqsets.com/s/html-web-page-design/html-paragraph-formatting/
MCQ Questions from HTML Paragraph Formatting
1. Which of the following tag aligns the paragraph centered horizontally on browser window?
a. <p align=”center”>
b. <p style=”align:center”>
c. <p style=”para-align:center”>
d. Both a & b
2. Which of the following HTML code is correct to align following paragraph to the right of available space on browser window?
a. <p text-align=”right”>
b. <p style=”text-align=right”>
c. <p style=”align:right”>
d. Both a & c
3. The HTML display depends on
a. Large or small screen
b. Maximized or resized widow
c. Both of above
d. None of above
4. If a browser encounters extra spaces or extra lines
a. Renders the spaces or lines
b. Renders the spaces or lines reducing only one space
c. counts them as only one space
d. removes all those spaces or lines
5. The content is defined with tags and the presentation is defined by
a. attributes
b. styles
c. Elements
d. None of the above
6. You can specify multiple values for style attribute by
a. Separating each using semicolon
b. Separating each using comma
c. Separating each using a space
d. Separating each using double quotations
7. Which of the following style aligns the paragraph to the right?
a. para-align:right
b. line-align:right
c. align-paragraph:right
d. text-align:right
8. To effect double line spacing for a paragraph, which of the following style works?
a. line-spacing:double
b. line-spacing:2
c. line-height:2
d. text-height:2
9. When the font size of characters is set to 14 points, which of the following sets double line spacing?
a. line-spacing:double
b. line-height:200%
c. line-height:2
d. Both b & c
10. You can create indented paragraph in HTML using
a. indent attribute
b. blockquote element
c. Multiple code
d. padding style
11. Which of the following renders 50 pixel right indent?
a. style=”padding-right:30″
b. style=”padding-left:30px”
c. style=”Padding-right:30px”
d. style=padding-right:30px
12. Which of the following is not available for padding?
a. padding
b. padding-left
c. padding-right
d. padding-center
13. padding-top can be used with style attribute of P element in HTML code to
a. create top margin
b. create space before current paragraph
c. create line spacing among lines in a paragraph
d. None of above
14. Which of the following CSS does not exist?
a. inline
b. outline
c. internal
d. external
15. Which kind of CSS is not written in current HTML file?
a. Internal
b. External
c. Inline
d. None of above
17. The Internal CSS is written inside
a. P tag
b. Style element
c. separate file with .css extension
d. All of above
18. Which of the following is considered best practice for defining styles?
a. inline styles
b. internal styles
c. external styles
d. None of the above
19. To specify line-height, which of the following value you can write?
a. multiples
b. pixels
c. percentage
d. all of above
20. Identify the false statement
a. Space before and after can be achieved using padding-left and padding-right styles for P element
b. Left and right indentation can be achieved using padding-left and padding-right styles for P element
c. Line spacing can be achieved by using line-height style for P element
d. Style is a global attribute
Correct answers for this set
As I told already, I’ll present correct answers of this set in coming set. But for now, let me answer previous set.
Correct answers of previous set ( HTML Paragraph)
1 – b | 2 – c | 3 – a | 4 – c | 5 – d | 6 – b | 7 – a | 8 – d | 9 – b | 10 – d |
11 – a | 12 – d | 13 – c | 14 – a | 15 – x | 16 – x | 17 – x | 18 – x | 19 – x | 20 – x |
Previous MCQ Questions
Session 1: MCQs from Getting Started
Session 2: MCQs from HTML Document Structure
Session 3: MCQs from Tags Attributes & Elements
Session 4: MCQs from HTML Paragraph
Discussion Page for this chapter
Link: Click here to go to Discussion Page
You are welcome to visit above link and post your questions or confusions. Please don’t forget to log in to ICT Trends before you can submit questions.
Leave a Reply