Coding FlashCards
(217 cards)
Give five examples of HTML element tags.
- html
- head
- title
- body
- p tag
What is the purpose of HTML attributes?
are a modifier of an HTML element type
Give an example of an HTML entity (escape character)
” © “ = copyright
How do you indicate the parent folder in a path?
Use ../ to indicate the folder above the current one, then the file name
Example: ../index.html
How do you indicate the child folder in a path?
Use the name of child folder, then the file name
Example: music/listings.html
How do you indicate the grand parent folder in a path?
Repeat the ../ to go up two folders, then follow with the file name.
Example: ../../index.html
How do you indicate the current folder in a path?
Use the file name
Example: index.html
–
What purpose do the thead and tbody elements serve?
thead: separate chunks in your table (table header)
tbody: the body (information) of table
Give two examples of data that would lend itself well to being displayed in a table.
Numbers, finances, anything you can put in an excel sheet
What is an absolute URL?
What is a relative URL?
Absolute URL: When you link to a different website, the value of the href attribute will be the full web address for the site
Relative URL: When you are linking to other pages within the same site, you do not need to specificy the domain name in the URL (example: Home)
–
What attribute do you have to match between a label and an input?
for and id
What type of input allows you to select multiple items in a dropdown?
select
select needs to work with the element
What does the element do?
uses the action attribute to indicate the page that the data is being sent to
What does the element do?
indicates the purpose of each form control
Give three examples of type attributes for HTML elements.
type
id
value
Give three examples of type attributes for HTML elements.
password email radio checkbox text calendar phone number button color date time file
Why would we choose specific element types when we have elements such as div and span which can be used for anything?
Provide elements that provide content
SEO (search englines)
Accessibility
What factors contribute to a well-designed HTML document?
Proper formatting (indenting)
Using the correct functions
What are the names of the individual pieces of a CSS rule?
property, value, selector, declaration
How are key/value pairs related to CSS?
properties and values
name that correlates to a value
Name three different types of values you can use to specify colors in CSS.
RBG Values
HEX
Color Names
Why must you have backup fonts assigned when selecting custom fonts?
In case the user does not have that font installed
If the fall back doesn’t work, it will default to New Times Roman
What CSS properties make up the box model?
padding, border, margin
content is not a CSS property
Which CSS property pushes boxes away from each other?
margin