- Which browsers and what versions of those browser recognize style sheet codes
Your answer:
- What are the two components of a style sheet rule?
Your answer:
- What are the two parts of the style sheet declaration
Your answer:
- What are the three methods for using style sheets with a web page
Your answer:
Dreamweaver, GoLive or FrontPage
Inline, embedded or document level and external (linked or imported)
Handcoded, Generated or WYSIWYG
- For an external style sheet the container is and everything must be placed in the style container
Your answer:
TrueFalse
- In style sheets, more than one rule can be assigned to a particular element, but the browser will follow only the rule that takes precedence
Your answer:
TrueFalse
- CSS is one of the key components of DHTML technology
Your answer:
TrueFalse
- What does DOM stand for?
Your answer:
- DHTML is completely cross browser compatible
Your answer:
TrueFalse
- Layers work in Netscape AND Microsoft's Internet Explorer
Your answer:
TrueFalse
- What is the correct HTML for refering to an external style sheet?
Your answer:
<stylesheet>mystyle.css</stylesheet>
<style src="mystyle.css">
<link rel="stylesheet" type="text/css" href="mystyle.css">
- Common tool for developing CSS pages
Your answer:
Dreamweaver and GoLive
Notepad
FrontPage
- Where in the HTML document is the correct place to refer to an external style sheet?
Your answer:
In the <body> section
At the top of the document
In the <head> section
At the end of the document
- Which HTML tag is used to define an internal style sheet?
Your answer:
<css>
<style>
<script>
- Which HTML attribute is used to define inline styles?
Your answer:
class
style
styles
font
- Which is the correct CSS syntax?
Your answer:
body:color=black
{body;color:black}
body {color: black}
{body:color=black(body}
- How do you insert a comment in your CSS file?
Your answer:
// this is a comment
' this is a comment
/* this is a comment */
// this is a comment //
- Which CSS property controls the text size?
Your answer:
font-style
text-size
text-style
font-size
- What is the correct CSS syntax for making all the
elements bold?
Your answer:
<p style="font-size:bold">
<p style="text-size:bold">
p {font-weight:bold}
p {text-size:bold}
- How can you display your hyperlinks without an underline?
Your answer:
a {text-decoration:none}
a {text-decoration:no underline}
a {underline:none}
a {decoration:no underline}
- How can you change the left margin of an element?
Your answer:
indent:
margin:
margin-left:
text-indent
- Two part answer: 1. What does the "cascading" part of cascading style sheets mean? 2. What is the cascading order of rules
Your answer:
- Stating from either a blank unformatted web page (sample), or a web page of your own choosing (perhaps a page from your Cunningham Coffee Corner project??), create two version of the page, each linked to a different external stylesheet. The two pages must be identical, except for the stylesheet they link to. Stylesheet Project Requirements You must modify at least eight standard HTML elements. e.g. BODY, P, H1 through H6, UL, A, BLOCKQUOTE, TABLE AND your stylesheet must contain at least one custom class such as .important and .summary Don't forget to include your original unformatted HTML webpage and your two .css style sheets! NOTE: Hand this work in on a floppy disk!!
Links to reference material:
Cascading Style Sheet CODING Project
OPTIONAL Source file to add styles
Your answer: