HTML / CSS Flashcards
Why do we need responsive design?
to adapt our application to many sizes of screens
Why do we use media queries?
to specify the display conditions
What can we use for layout positioning in CSS?
Flexbox, CSS Grid
What is the meaning of HTML
Hypertext Markup Language
What is the meaning of CSS
Cascading Style Sheet
What tag you use for unordered list
The “ul” tag
How to target a HTML element with a class ‘items’ in CSS
using .items
How to target a HTML element with an id ‘container’ in CSS
using #container
What tag you need to have a text in the tab of the browser
My Web Site
How do you apply flexbox model to a div
div { display: flex; }
How to display the children of a div in column
div { display: flex; flex-direction: column; }
How to have the same space on the main axis between all the children in a flex div
div { display: flex; justify-content: space-around; }
What the property you will use to have a div with round corners of 5px
div { border-radius: 5px; }
How do you set the background color to red on the whole page?
body { background-color: red; }
What is the property to use to change the size of text
font-size