Lab 2 Answers
Abigail McCarthy
- External style sheet
- This method allows for multiple pages to have the same style. It makes the
HTML pages cleaner and easier to change because the CSS is kept in a separate page not all throughout the HTML document
- The type of document the link is being made to, the relationship of the document that is being linked, and the location of the file.
- The comma is used to deliminate the HTML elements that the CSS is associated with
- Not all the text changed to red. The text that did not had other color specifications made in CSS that related directly to that element
- This changed the layout to being shifted to the left side of the browser.
- Section is a HTML element. Info is an ID. Stats is a class.
- Dots indicate a class and # is for a id.
- It makes sure that the style stays consistent throughout the document
- Links are being colored red when the mouse hovers over them
- I think it is good to make the link more clear to the user, but it shifts the entire page down. This is a minor effect when the text is only slightly enlarged but can be very annoying if the text is made very large by the hover function.
- 48 pt font.
- You would use .5 em
- We are styling the "player profile" on the top of the page.
- Specification is important because it allows you to change exactly the elements that you want to.
- Font-style is used to make the font italic. I think it is in font because font describes how the actually letters appear and text is how the block of texts appears on the screen.
- Display: inline
- Yes. a "-" is added after a h3 tag
- margin: 0px 15px 15px 0px; float: left;
- border-width: 3px 1px 1px 3px;
- This lengthened the box that is holding the Glossary. This happened because the overflow was not accounted for an expanded the box.
- All li tags in every list will be changed instead of just the ones in the unordered list.
- The border radius changed the corners of the table. increasing the radius increases the curvature of the table
- This styles the hyperlinks on the page. It makes them look like a button.
- This is important because the code handles the appearance of the button in different browsers and browser additions