CSS Exam Name Date:04/02/2020
• What is box model in CSS? (10 credits)
• What are the three ways to insert CSS in HTML file? (10 credits)
• What’s the difference between visibility: hidden and display: none? (10 credits)
(4)What is the difference between Css and Css3? (10 credits)
(5)Explain what elements will match each of the following CSS selectors: (15 credits)
div p
div, p
div > p
div + p
div ~ p
(6) In CSS3, how would you select: (15 credits)
Every element whose href attribute value begins with “https”.
Every element whose href attribute value ends with “.pdf”.
Every element whose href attribute value contains the substring “css”.
(7) Given the following HTML: (20 credits)
Heading Title
Subheading Title
Subheading Title
Heading Title
Subheading Title
Heading Title
How could you use CSS to achieve the following automatic numbering:
1) Heading Title
1.1) Subheading Title
1.2) Subheading Title
2) Heading Title
2.1) Subheading Title
3) Heading Title
• “webkit” for browser: (5 credits)
(9)”moz-column” for browser: (5 credits)
• What is Bootstrap gird system? (10 credits)
• Why is @import only at the top? (10 credits)