1) HTML & CSS: Checkpoint 1-10

Description

Quiz on 1) HTML & CSS: Checkpoint 1-10, created by Sanny Lin on 24/03/2016.
Sanny Lin
Quiz by Sanny Lin, updated more than 1 year ago
Sanny Lin
Created by Sanny Lin over 8 years ago
103
1

Resource summary

Question 1

Question
We indent nested HTML code because... (select all that apply)
Answer
  • it improves readability
  • it establishes a hierarchy
  • it's an HTML5 requirement
  • the browser requires it to render HTML properly

Question 2

Question
Fill in the missing attributes: <link [blank_start]rel[blank_end]="stylesheet" [blank_start]type[blank_end]="text/css" [blank_start]href[blank_end]="mystyle.css">
Answer
  • rel
  • type
  • href

Question 3

Question
What CSS property would you use to change the color of some text?
Answer
  • color
  • font-color
  • text-color
  • word-color

Question 4

Question
What are the four layers, in order, of the CSS box model? (1 is inner-most layer and 4 is outer-most)
Answer
  • 1. Content 2. Padding 3. Border 4. Margin
  • 1. Content 2. Border 3. Padding 4. Margin
  • 1. Content 2. Margin 3. Border 4. Padding
  • 1. Content 2. Padding 3. Margin 4. Border

Question 5

Question
The CSS selector pattern `element element` is known as what type of selector? For example: `.navbar .logo` or `div p`
Answer
  • descendant selector
  • child selector
  • sibling selector
  • ancestor selector

Question 6

Question
In CSS, the asterisk symbol (*) is known as the __________ selector.
Answer
  • universal
  • compass
  • wild card
  • catch-all

Question 7

Question
What is the correct way to begin a media query?: __________ (min-width: 640px) { /* Style information will go here */ }
Answer
  • @media
  • media
  • .media
  • &media

Question 8

Question
Select all the CSS values you can use to make the color of some text white.
Answer
  • white
  • rgb(255,255,255)
  • #FFFFFF
  • rgba(255,255,255,0)

Question 9

Question
What tag is used to create an item within a table row, i.e. a table cell?
Answer
  • <td>
  • <tr>
  • <th>
  • <tc>

Question 10

Question
The CSS `border` property can be used to set the values for one or more of the following individual properties? (select all that apply)
Answer
  • border-width
  • border-style
  • border-color
  • border-size
Show full summary Hide full summary

Similar

A Christmas Carol - Characters
chloeprincess10
C6 Flash cards
Anna Hollywood
Geography Coastal Zones Flashcards
Zakiya Tabassum
Cognitive Psychology Key Terms
Veleka Georgieva
Biology- Genes and Variation
Laura Perry
Business Studies GCSE
phil.ianson666
F211- Module 1 Cells, exchange and transport
eilish.waite
GCSE REVISION TIMETABLE
nimraa422
French Revolution quiz
Sarah Egan
Navegacion
Adriana Forero
The Children Act 2004
Carina Storm