CSS (3/15) Flashcards
What is the purpose of an HTML form element?
To collect user input data
Give five examples of form control elements.
Input Secret textarea button submit
Give three examples of type attribute values for HTML elements.
check
radio
email
Is an HTML element a block element or an inline element?
Inline
What are the six primary HTML elements for creating tables?
table thead tbody th tr td
What purpose do the thead and tbody elements serve?
To distinguish b/w the header and data in the table
Give two examples of data that would lend itself well to being displayed in a table.
stats, highlights, payment options, etc.
What are the names of the individual pieces of a CSS rule?
selector, code block: property & values,
In CSS, how do you select elements by their class attribute?
.element
In CSS, how do you select elements by their type?
(just type it in) element
In CSS, how do you select an element by its id attribute?
element
Name three different types of values you can use to specify colors in CSS.
keyword, Hex, RGBA
What CSS properties make up the box model?
Border, Margin, Padding, Content
Which CSS property pushes boxes away from each other?
Margin
Which CSS property add space between a box’s content and its border?
Padding