FUNDAMENTALS OF COMPUTER

USING MICROSOFT WORD

NEW DOCUMENTS TEMPLATES IN MICROSOFT WORD

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
It is possible to apply the border to only one side of the page rather than all four sides.
A
True
B
False
C
Either A or B
D
None of the above
Explanation: 

Detailed explanation-1: -If you want to set a border to the left and right, use three values (write none to the first and third values). Example: border-style: none solid none none; // border will be applied only to the right side. border-style: solid none; // border will be applied only to the top and bottom sides.

Detailed explanation-2: -Answer: A) border-style property is used to specify different border styles in CSS.

Detailed explanation-3: -In CSS we can put borders to either side of an element but what about making a half border design or the border for content only i.e, text border design.

Detailed explanation-4: -The border-style shorthand CSS property sets the line style for all four sides of an element’s border.

There is 1 question to complete.