HTML CSS PDF
HTML CSS PDF
12. True or False: Inline elements are normally displayed without starting a new line.
True
21. True or False: An <iframe> is used to display a web page within a web page.
True
22. True or False: HTML comments start with a <!-- and end with -->
True
23. True or False: Block elements are normally displayed without starting a new line.
False
25. Which HTML attribute specifies an alternate text for an image, if the image
cannot be displayed?
Alt
27. Which HTML element is used to specify a footer for a document or section?
<footer>
28. True or False: In HTML, you can embed SVG elements directly into an HTML
page.
True
29. What is the correct HTML element for playing video files?
<video>
30. What is the correct HTML element for playing audio files?
<audio>
35. In HTML, which attribute is used to specify that an input field must be filled out?
required
37. Which HTML element is used to display a scalar measurement within a range?
<meter>
40. Which HTML element is used to specify a header for a document or section?
<header>
CSS
10. Which CSS property is used to change the text color of an element?
color
12. What is the correct CSS syntax for making all the <p> elements bold?
p {fontweight:bold;}
13. How do you display hyperlinks without an underline?
a {textdecoration:none;}
14. How do you make each word in a text start with a capital letter?
text-transform:capitalize
fontweight:bold;
19. When using the padding property; are you allowed to use negative values?
No
20. How do you make a list that lists its items with squares?
liststyletype: square;
21. How do you select an element with id "demo"?
#demo
25. What is the default value of the position property? You answered:
static