- Created multiple exercises under the CSS layout section, including: - Final page layout with CSS styles and HTML structure. - Display and flow concepts with examples of block, inline, and none display types. - Selectors and pseudo-classes with practical examples. - Overflow and sizing handling in CSS. - Grid layout basics for two-dimensional layouts. - Fixed and sticky positioning examples. - Centering techniques for common layout scenarios. - Added README files for each exercise to outline objectives and file structures. - Updated main README to include new sections and usage instructions.
17 lines
424 B
HTML
17 lines
424 B
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>块级与行内元素</title>
|
|
</head>
|
|
<body>
|
|
<!-- 任务:
|
|
1. 写一个主标题
|
|
2. 写 3 个提示块
|
|
3. 每个提示块里用 span 或 strong 包住关键词
|
|
4. 再写一个链接,跳到学习文档
|
|
-->
|
|
</body>
|
|
</html>
|