1. Inline (non-block) elements can define width and height after which of the following styles is defined (C)

A.display:inline
Copy the code
B.display:none
Copy the code
C.display:block
Copy the code
D.display:inherit
Copy the code

parsing

 

2. The CSS property overflow property defines how content is handled in the overflow element content area. If the value is scroll, the user agent provides a scrolling mechanism whether it is needed or not. (A)

A.True
Copy the code
B.False
Copy the code

parsing

If the parameter is scroll, the scroll bar must appear. The scroll bar appears when the child element is larger than the parent element when the parameter is auto. If the argument is visible, the overflow appears outside the parent element. Overflow hide when parameter is hidden.


3. Which of the following values (B) will be used when a new window opens the web page?

A._self
Copy the code
B._blank
Copy the code
C._top
Copy the code
D._parent
Copy the code

parsing