1) Which of the following ranks the selectors from highest precedence to lowest precedence? a) Select by tag name, select by class name, select by id name b) Select by id name, select by tag name, select by class name c) Select by id name, select by class name, select by tag name d) Select by class name, select by id name, select by tag name 2) Why do we use CSS? a) HTML wasn’t intended to be able to style web pages, CSS allows us to add style b) Separate the content of a web page from the design of a web page c) Easily modify the look and feel of a web site even at a large scale d) All of the above 3) Which of the following code snippets will select all <img> tags on a page and give them a height of 200 pixels? a) img {height: 200px;} b) tag="img" {height: 200px;} c) <img style="height:200px;"> d) <img> {height: 200px;} 4) Which of the following code snippets will select all HTML elements with the class “alert” and set their color to be red? a) alert {color: red;} b) .alert {color: red;} c) #alert {color: red;} d) class="alert" {color: red;} 5) Which of the following CSS rules will select the HTML element with the id logo and set the font size for that element to 60 pixels? a) logo {font-size: 60px;} b) .logo {font-size: 60px;} c) #logo {font-size: 60px;} d) id="logo" {font-size: 60px;} 6) What font color will the following HTML element have after being styled by the given CSS: <h1 class="fire">Welcome!</h1><h1 class="fire">Welcome!</h1> a) red b) green c) blue d) black 7) Which of the following statements are true about styling your web pages with CSS: I. Styling with CSS is more scalable than using style= on each HTML tag that you want to style II. You can create styles with CSS that are not possible using style= on an HTML tag a) II only b) I and II c) I only d) Neither I nor II 8) What is CSS a) Connection Service Site b) Conductive Sports Site c) Collective Specific Service d) Cascading Style Sheets 9) What property is used to change the text color of an element? a) fontcolor: b) textcolor: c) color: d) font-color: 10) The # symbol specifies that the selector is? a) class b) tag c) first d) id 11) How do you make a list not display bullet points? a) list-style-type: no-bullet b) list: none c) bulletpoints: none d) list-style-type: none 12) Which HTML attribute is used to define inline CSS styles? a) CSS b) Style c) ID d) Type 13) What is the correct CSS syntax for making all the <p> tags font size 14px? a) p {14px} b) p {font-size: 14px;} c) p {text-size: 14px;} d) p {font: 14px;}
0%
CSS Test Review
공유
공유
공유
만든이
Slee9844
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?