Exam WebDevelopment 1
Exam WebDevelopment 1
Web Development-1
7. How can you make a list that lists the items with numbers? a)ol
b)dl
c)ul
d)list
8. How can you open a link in a new browser window?
a) <a href="url" target="_blank">
b) <a href="url" target="_self">
c) <a href="url" target="_new">
d) <a href="url" target="_window">
12. How do you make a list that lists its items with squares?
a) type: square
b) list-type: square
c) type: 2
d) list-style-type: square
16. What selector should you use when applying a style to multiple elements? a) ID
b) Class
c) Type
d) Any of the above
17. Which of the following attributes of the <img> tag displays alternate text for the image?
a) caption
b) text
c) alt
d) identify
18. Where in the HTML document is the correct place to refer to an external style sheet? a)
In the <body> section
b) At the top of the document
c) In the <head> section
d) At the end of the document
21. Which method is ideal for applying the same style to an entire website?
a) Internal CSS
b) Inline CSS
c) External CSS
24.Each element can have only one ID and Each page can have only one element with that ID.
a) True
b) False
27. From the inside out, which of the following portrays the correct order of a box model?
a) margin, border, padding, content
b) content, margin, border, padding
c) border, margin, content, padding
d) content, padding, border, margin
e) padding, content, margin, border
31. Write html and css for the following using div.
Header
Content
Navigation Sidebar
Footer