Review Flashcards
flexible layout
page layout automatically adjusts to screens of different widths
(T5 - Slide 5)
Responsive images
rescale based on the size of the viewing device
T5 - Slide 5
media queries
- determines the properties of the device rendering the page so that appropriate designs can be delivered to specific devices
- media=“devices”
(T5 - Slide 5,6)
The mobile first principle
• overall page design starts with base styles that apply to all devices followed by style rules specific to mobile devices
(T5 - Slide 11)
Flexible Box
flexbox is a box containing items whose sizes can shrink or grow to match the boundaries of the box
(T5 - Slide 23)
main axis
- Items within a flexbox
- can point in either the horizontal or vertical direction
(T5 - Slide 23)
Cross Axis
is perpendicular to the main axis and is used to define the height or width of each item
(T5 - Slide 23)
NavIcon Menu
- It is used to indicate the presence of hidden navigation menus in mobile websites
- symbol represented as three horizontal lines
(T5 - Slide 52)
Header cells
- content placed at the top of a column or beginning of a row
- By default, displays text in bold and centers text horizontally
- Marked using the “th” element
(T6 - Slide 9)
Data cells
- content within columns or rows
- By default, displays text as unformatted text and is aligned to the left within the cell
- Marked using the “td” element
(T6 - Slide 10)
div
• division or a section in an HTML document
span
- generic inline container for phrasing content
* group elements for styling purposes
table
- display: table; (treated as a block-level element)
- display: table-inline; (treated as an inline element)
(T6 - Slide 39)
thead
display: table-header-group;
T6 - Slide 39
th
display: table-cell;
T6 - Slide 39
tbody
display: table-row-group;
T6 - Slide 39
tr
display: table-row;
T6 - Slide 39
td
display: table-cell;
T6 - Slide 39
tfoot
display: table-footer-group;
T6 - Slide 39
colspan
- cols is the number of columns that the cell occupies
- colspan = “cols”
(T6 - Slide 21)
border
- Another way to separate columns is with a graphic dividing line created using the “column-rule” property
- column-rule: border;
- where “border” defines the style of dividing line
(T6 - Slide 17)
column-width
- acts like the basis value for items in a flexbox
- column-width: size;
(T6 - Slide 51)
form
• can contain page elements such as tables, paragraphs, inline images, and headings
• can be placed anywhere within the body of a page
• < form id = “text” attributes >
content
(T7 - Slide 12, 13)
label
- To associate a text string with a control, the text string has to be enclosed within the label element
- < label for = “id” > label text
(T7 - Slide 23)
input
to insert text and numeric values
T7 - Slide 7
option
• tag defines an option in a select list
select
• represents a control that provides a menu of options.
spinner control
• Displays an up or down arrow to
increase or decrease the field value by a set
amount
(T7 - 52)
radio
- Option buttons are also called radio buttons
- to select data values from a predefined set of options
- < input name = “name” value = “value1” type=“radio” />
(T7 - Slide 7, 44)
checkbox
• to select data values limited to two possibilities, such as “yes” or “no”
• designed for fields that record the presence or absence of an object or event
• < input name = “name” value = “value”
type = “checkbox” />
(T7 - Slide 7, 47)