Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
39 Cards in this Set
- Front
- Back
What are the three tags used on a list?
|
<ul> unordered list
<ol>ordered list <li> list item i.e. <ul> <li></li> <li></li> </ul> |
|
What table attributes allow columns or rows to stretch across more than one?
|
colspan or rowspan
|
|
what does CSS stand for?
|
Cascading Style Sheet
|
|
Write the inline styling to turn a single paragraph red.
|
<p style="color: red;">
|
|
p { color: black }
What is the p called in this diagram? |
selector
|
|
p { color: black }
What is the "color" called in this diagram? |
property
|
|
p { color: black }
What is the "black" called in this diagram? |
value
|
|
p { color: black }
What is the phrase between the brackets called in this diagram? |
declaration block
|
|
List 3 benefits of using CSS?
|
1. Your files are easier to navigate because instead of all of your code being in one cluttered file the styling is in a different place than the HTML
2. Helps promote consistent styling 3. Allows for much more sophisticated techniques |
|
How do you write an HTML comment?
|
<-- This is a comment -->
|
|
What does HTML stand for?
|
Hypertext Markup Language
|
|
What style changes the font of an element?
|
font-family
|
|
What property changes the text color of an element?
|
color
NOT font-color |
|
How do you add a background color to a webpage?
|
<body style="background-color: red;">
|
|
What is one element we use that is specific to XHTML?
|
the /> in tags, such as image tags.
|
|
Is the <!doctype> tag a HTML tag?
|
NO, it is a declaration that goes in the VERY VERY top, even outside of <html>
|
|
Can <h> tags be used inside of paragraphs?
|
NO.
|
|
HTML tags do NOT always come in pairs, give an example.
|
<img />
<br /> <hr /> --horizontal rule |
|
What is the purpose of a web browser?
|
To display HTML Tags
|
|
What tag causes text to begin on a new line?
|
<br />
|
|
Which tag would be used to link web pages to eachother?
|
<a> tag
|
|
What are two good reasons to add an alt tag to an image?
|
1. Incase the user is blind and using a screen reader
2. Incase the image doesn't load, it can explain what would be there with the alt tag |
|
When including width and height as an attribute, do you use "px"?
|
No, but you do in CSS
|
|
What is the HTML for a non-breaking space?
|
--Benefits are that multiple will read as multiple spaces, as opposed to multiple spaces which only read as one space |
|
What year was CSS created in and why?
|
CSS was created in 1996 to resolve issue of BORING web design
|
|
What is an inline CSS style?
|
it only affects one specific instance of a tag
|
|
What is an internal CSS style sheet?
|
It goes in the head to affect the entire page
|
|
What is an external style sheet?
|
It is separate from the HTML file, and is attached to affect the entire site.
|
|
What tag do you use to apply styling to a single word or element?
|
span
for example: <span style=""> <span class=""> <span id=""> |
|
Is class or id used to apply to more than one element?
|
class = .
|
|
Is class or id used to apply to only one element?
|
id = #
|
|
who sets the standards to make HTML standards consistent?
|
The W3C=
The World Wide Web Consortium |
|
What are three advantages of new HTML versions?
|
1. standardization
2. stricter, but cleaner code 3. more features |
|
What are three advantages of validation?
|
1. Improved SEO
2. Faster loading website 3. Browser compatibility 4. Less time testing |
|
List 5 different HTML styling tags
|
<strong>
<del> --strike through <big> <small> <em> emphasized |
|
List two different special characters you can achieve with HTML
|
non-breaking space
& ampersand |
|
List 4 optional for table attributes
|
border, width, cellpadding, cellspacing
|
|
A div is a block element, so that means it:
|
Creates a line break before and after.
|
|
What does a CSS comment look like?
|
/* This is a CSS comment */
|