Req 1
Req 1
Key Concepts:
Fluid Grids: Use flexible grid layouts that adapt to the screen size.
Flexible Images: Ensure images resize appropriately within their containers.
Media Queries: Apply different styles based on device characteristics like screen
width.
2. HTML5 Overview
HTML5 Elements: HTML5 provides semantic elements that enhance the structure and
accessibility of web pages. Key elements include:
Selectors: Define styles for HTML elements. Examples include class selectors
(.classname), ID selectors (#idname), and attribute selectors ([attribute=value]).
Box Model: Understanding the box model is crucial for layout design. It includes
margin, border, padding, and content.
Flexbox: A layout module that allows for flexible and efficient layouts. Key
properties include display: flex, flex-direction, justify-content, and align-items.
Grid Layout: A two-dimensional layout system for creating complex layouts. Key
properties include display: grid, grid-template-columns, grid-template-rows, and
grid-area.
4. Media Queries
Purpose: Media queries apply different CSS styles based on device characteristics,
such as screen width, height, orientation, and resolution.