logo - 刷刷题
下载APP
【单选题】

The code that prs the text from wrapping is ( ).

A.
white-space: nowrap
B.
word-wrap: nowrap
C.
word-spacing: nowrap
D.
word-break: nowrap
举报
参考答案:
参考解析:
.
刷刷题刷刷变学霸
举一反三

【单选题】If you set transition:2s 1s for an element, which one is the correct statement about 2s and 1s? ( )

A.
2s is code delay time, 1s means meaningless.
B.
1s is code transition time, 2s represents delay time.
C.
2s is code transition time, 1s represents delay time.
D.
None of the above statements is correct.

【单选题】Set to move horizontally to the right by 100px, then which code is correct? ( )

A.
transform:translateY(100px)
B.
transform:translateY(-100px)
C.
transform:translateX(-100px)
D.
transform:translateX(100px)

【单选题】Please select an expression whose result is true. ( )

A.
null instanceof Object
B.
null === undefined
C.
null == undefined
D.
NaN == NaN

【单选题】Which of the following statements about variable declare in js is correct? ( )

A.
The var keyword cannot be omitted when js defines a variable, otherwise an error will be reported.
B.
Variable name cannot start with $.
C.
The declaration of a variable is represented by the keyword var, but it can also be omitted.
D.
Js variables are declared by var just like php variables.

【多选题】(Multiple-choice question) Which of the following statements about obtaining page elements are correct? ( )

A.
document.getElementById("a") means to obtain an element in the page by the id value "a".
B.
document.getElementsByName("na")means to obtain an element in the page by the name attribute value "na".
C.
document.getElementsByTagName("div") means to get all divs by tag name.
D.
The above statements are not correct.