Vous êtes sur la page 1sur 2

A GRUPA

HTML i CSS Test

1) What does CSS stand for? 1) Intrepret this statement: <strong>Michelle</strong>


a) Creative Style Sheets a) It makes Michelle strong
b) Computer Style Sheets b) It highlights Michelle as being strong
c) Cascading Style Sheets c) It will print out Michelle in bold font
d) Cascade Style Sheets
2) Which HTML tag is used to define an internal style 2) Which is correct?
sheet? a) <b>Click Here<b>
a) css b) <strong>Click Here<strong>
b) text/style c) <b>Click Here</b>
c) style d) </strong>Click Here</strong>
d) script
3) Which is the correct CSS syntax? 3) The Browser applies the feature of a tag until it
a) body {color: black} encounters_____tag.
b) body:color=black a) Quit
c) {body:color=black(body} b) Closing
d) {body;color:black} c) Exit
d) Anti
e) Deactivate
4) Which property is used to change the background 4) What are the genral syntax for inline image?
color? a) src=img
a) bgcolor: b) src=image
b) background-color: c) img=file
c) color: d) img src=file
e) image src=file
5) How do you change the text color of an element? 5) To create a link to an anchor, you use
a) text-color: the______property in A tag.
b) color: a) Name
c) font-color: b) Tag
c) Link
d) Href
6) What is the correct CSS syntax for making all the <p> 6) Relative path make your hypertext links______.
elements bold? a) Portable ?
a) p {text-size:bold} b) Discrete
b) p {font-weight:bold} c) Uniform
c) style:bold
d) p{font:bold}
7) How do you make each word in a text start with a 7) Which of the following path is supported by HTML?
capital letter? a) Ralative
a) text-transform:uppercase b) Defererenced
b) text-transform:capitalize c) Absolute and Relative ?
c) You can't do that with CSS
8) How do you make the text bold? 8) Because each computer differs in terms of what fonts
a) font:b it can display, each individual browser determines how
b) style:bold text is to be displayed.
c) font-weight:bold a) True
b) False
A GRUPA

9) How do you change the left margin of an element? 9) You can combine structures e.g, linear and
a) padding: hierarchical.
b) indent: a) True
c) margin: b) False
d) text-indent:
e) margin-left:
10) How do you make a list that lists its items with 10) What is the tag for an inline frmae?
squares? a) Iframe
a) type: square b) Inframe
b) list-style-type: square c) frame
c) list-type: square d) inlineframe
d) style-list: square
11) Which HTML tag is used to define an internal style 11) Can you create an e-mail form with auto responder
sheet? using form action
a) <script> method=mailto:youdomainname.com?
b) <css> a) Yes
c) <stylesheet> b) No
d) <style>

12) What is the correct CSS syntax for making all the 12) There are_____color names recognized by all
<p> elements bold? version of HTML.
a) p {font-weight:bold} a) 6
b) p {text-size:bold} b) 8
c) <p style="text-size:bold"> c) 256
d) <p style="font-size:bold"> d) 16
13) How do you change the left margin of an element? 13) If you want to increase the font size by 2 relative to
a) left-margin: the sorounding text, you enter +2 in the tag.
b) margin: a) True
c) margin-left: b) False
d) text-indent:
14) How do you make each word in a text start with a 14) The default statement of a switch is always
capital letter? executed.
a) text-transform:capitalize a) True
b) ext-transform:uppercase b) False
c) You can't do that with CSS
15) What are the three methods for using style sheets 15) The page title is inside the____tag.
with a web page a) Body
a) Dreamweaver, GoLive or FrontPage b) Head
b) Inline, embedded or document level and external c) Division
c) Handcoded, Generated or WYSIWYG d) Table

Vous aimerez peut-être aussi