Website Development Essential
CIS · Quiz · Summer 26
Paper 1 of 4By Mohima (1)Switch
Paper 1 of 4
Read the questions as text
Read off the PDF by AI, so it may have mistakes. The PDF is the original.
Daffodil International University, Dept. of CIS
Course Code: CIS133, Section – 23C
1. Explain the CSS Box Model with a neat diagram. Describe the purpose of content, padding, border, and margin.
2. Compare Flexbox and CSS Grid. Analyze which layout technique is more suitable for designing a photo gallery and justify your answer.
3. A company wants to design a responsive navigation bar for its website. Create the HTML and CSS code to meet the following requirements:
- The navigation bar background should be dark blue.
- The menu items (Home, About, Services, Contact) should be white.
- The menu items should be displayed horizontally using CSS Flexbox.
- When the user hovers over a menu item, its background color should change to black.