feat: Add CSS layout exercises and corresponding HTML files
- 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.
This commit is contained in:
31
01-html-structure/02-text-links-lists/answer.html
Normal file
31
01-html-structure/02-text-links-lists/answer.html
Normal file
@@ -0,0 +1,31 @@
|
||||
<!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>
|
||||
<h1>前端新手资源页</h1>
|
||||
|
||||
<p>
|
||||
学习前端时,最重要的是先把 <strong>HTML 结构</strong> 打稳,再逐步进入
|
||||
<em>CSS 布局</em> 和 JavaScript 交互。
|
||||
</p>
|
||||
|
||||
<h2>推荐网站</h2>
|
||||
<ul>
|
||||
<li><a href="https://developer.mozilla.org/" target="_blank">MDN Web Docs</a></li>
|
||||
<li><a href="https://www.w3schools.com/" target="_blank">W3Schools</a></li>
|
||||
<li><a href="https://html.spec.whatwg.org/" target="_blank">HTML Standard</a></li>
|
||||
</ul>
|
||||
|
||||
<h2>学习步骤</h2>
|
||||
<ol>
|
||||
<li>先掌握 HTML 页面骨架</li>
|
||||
<li>练习文本、链接和列表结构</li>
|
||||
<li>开始写语义化页面布局</li>
|
||||
<li>再进入表格和表单练习</li>
|
||||
</ol>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user