From 0 to 1: Getting Started Quickly with HTML+CSS cover

From 0 to 1: Getting Started Quickly with HTML+CSS

Rating 4.0
Word count
95K words
Chapters
154
ISBN
9787115510327

Tags

Summary

Drawing on years of website development and teaching experience, the author explains HTML and CSS fundamentals and many front-end development techniques from the perspective of complete beginners. The book has two parts: Part 1 covers HTML basics, mainly the use of various tags; Part 2 covers CSS basics, mainly style and layout. In addition, based on real work and front-end interviews, the author carefully selected many high-quality exercises at the end of each chapter so readers can learn and practice as they go. The book provides source code for all cases, companion video courses, and various tool manuals. For teachers, PPT courseware is also provided. The book suits complete beginners, can serve as a reference for front-end developers, and can be used as a teaching reference in training schools and related programs at colleges and universities.

Editor's review

From 0 to 1: Quick Start with HTML+CSS is a bestseller in front-end introductory learning; its value lies in building a clear, systematic, practice-oriented learning path. Drawing on years of teaching experience, author Mo Zhenjie weaves seemingly scattered HTML tags and CSS properties into a tightly logical network, especially suited to helping beginners cross the first threshold of understanding. The book's biggest highlight is its consistent "from 0 to 1" approach: it does not pile up knowledge for completeness but carefully selects the 20% of front-end knowledge that is most core and commonly used, using that 20% to drive understanding of the other 80%, significantly reducing beginners' memory burden and fear of difficulty.

In organization, the book uses a four-step cycle: concept explanation → code example → effect display → hands-on practice. This structure fits how people learn and effectively turns passive reading into active learning. The many "Note" and "Common Mistake" boxes come directly from the pitfalls students most often hit in the author's offline teaching; this predictive guidance is highly practical. The introduction to HTML5 and CSS3 features is moderate and current, exposing readers to modern front-end technology without drifting too far from real development scenarios.

The book's positioning is very clear: it is a "get started" guide, not an authoritative manual. It aims to help readers build an overall understanding of web front-end technology in the shortest time and gain the ability to create common static web pages. For readers who want a quick introduction, to test whether they are interested in front-end development, or to complete course projects or simple project showcases, the book offers an efficient, low-risk starting point. Its value is not only in teaching knowledge but in building confidence—through step-by-step practice, "writing code" turns from something frightening into a controllable, predictable creative activity.

Who it's for

A good fit for

  • Beginners with no programming background who want to learn web page creation systematically
  • Students who need to complete web design coursework or graduation projects
  • Professionals interested in switching to front-end development who want a low-cost trial
  • Non-technical staff in operations, design, and similar roles who need to understand front-end technology for better collaboration

Not a good fit for

  • Developers who already know HTML and CSS basics and want to go deeper into front-end frameworks or advanced techniques
  • Readers seeking a comprehensive, detailed reference manual

Reading tips

  1. Read strictly in chapter order; do not skip, because the knowledge points build on one another
  2. Be sure to personally code the hands-on exercises in each chapter; this is the key step to internalizing knowledge
  3. Prepare a simple personal project (such as a personal profile page) as a goal, and try applying new knowledge to it after each chapter

About the publisher

Posts & Telecom Press China · Founded in 1953

Posts & Telecom Press is known for its strengths in science and technology, computing, and information and communications titles, and has extended its publishing into photography, art, software learning, and inspirational growth, giving it a fairly diverse range. Its catalog includes computing and communications works such as Refactoring and Patterns (Revised Edition) and Huawei Switch Learning Guide (Second Edition), alongside bilingual collector's editions such as The Little Prince (Chinese-English-French illustrated collector's edition), The Great Gatsby, and Three Days to See. Beijing Ten Years: 1980-1990 and Ghost Blade: WLOP Personal Illustration Collection reflect its presence in photography and art. Its authors include Antoine de Saint-Exupéry, Helen Keller, Joshua Kerievsky, Wang Da, Zhang Zhaozeng, and WLOP.

Contents

  1. 版权信息
  2. 内容提要
  3. 其他
  4. 前言
  5. 第一部分 HTML基础
  6. 第1章 HTML简介
  7. 1.1 前端技术简介
  8. 1.2 什么是HTML
  9. 1.3 常见问题
  10. 第2章 开发工具
  11. 2.1 开发工具
  12. 2.2 使用HBuilder
  13. 第3章 基本标签
  14. 3.1 HTML结构
  15. 3.2 head标签
  16. 3.3 body标签
  17. 3.4 HTML注释
  18. 3.5 本章练习
  19. 第4章 文本
  20. 4.1 文本简介
  21. 4.2 标题标签
  22. 4.3 段落标签
  23. 4.4 文本标签
  24. 4.5 水平线标签
  25. 4.6 div标签
  26. 4.7 自闭合标签
  27. 4.8 块元素和行内元素
  28. 4.9 特殊符号
  29. 4.10 本章练习
  30. 第5章 列表
  31. 5.1 列表简介
  32. 5.2 有序列表
  33. 5.3 无序列表
  34. 5.4 定义列表
  35. 5.5 HTML语义化
  36. 5.6 本章练习
  37. 第6章 表格
  38. 6.1 表格简介
  39. 6.2 基本结构
  40. 6.3 完整结构
  41. 6.4 语义化
  42. 6.5 合并行:rowspan
  43. 6.6 合并列:colspan
  44. 6.7 本章练习
  45. 第7章 图片
  46. 7.1 图片标签
  47. 7.2 图片路径
  48. 7.3 图片格式
  49. 7.4 本章练习
  50. 第8章 超链接
  51. 8.1 超链接简介
  52. 8.2 内部链接
  53. 8.3 锚点链接
  54. 8.4 本章练习
  55. 第9章 表单
  56. 9.1 表单简介
  57. 9.2 form标签
  58. 9.3 input标签
  59. 9.4 单行文本框
  60. 9.5 密码文本框
  61. 9.6 单选框
  62. 9.7 复选框
  63. 9.8 按钮
  64. 9.9 文件上传
  65. 9.10 多行文本框
  66. 9.11 下拉列表
  67. 9.12 本章练习
  68. 第10章 框架
  69. 10.1 iframe标签
  70. 10.2 练习题
  71. 第二部分 CSS基础
  72. 第11章 CSS简介
  73. 11.1 CSS简介
  74. 11.2 CSS引入方式
  75. 11.3 本章练习
  76. 第12章 CSS选择器
  77. 12.1 元素的id和class
  78. 12.2 选择器是什么
  79. 12.3 CSS选择器
  80. 12.4 本章练习
  81. 第13章 字体样式
  82. 13.1 字体样式简介
  83. 13.2 字体类型:font-family
  84. 13.3 字体大小:font-size
  85. 13.4 字体粗细:font-weight
  86. 13.5 字体风格:font-style
  87. 13.6 字体颜色:color
  88. 13.7 CSS注释
  89. 13.8 本章练习
  90. 第14章 文本样式
  91. 14.1 文本样式简介
  92. 14.2 首行缩进:text-indent
  93. 14.3 水平对齐:text-align
  94. 14.4 文本修饰:text-decoration
  95. 14.5 大小写:text-transform
  96. 14.6 行高:line-height
  97. 14.7间距:letter-spacing、word-spacing
  98. 14.8 本章练习
  99. 第15章 边框样式
  100. 15.1 边框样式简介
  101. 15.2 整体样式
  102. 15.3 局部样式
  103. 15.4 本章练习
  104. 第16章 列表样式
  105. 16.1 列表项符号:list-style-type
  106. 16.2 列表项图片:list-style-image
  107. 16.3 本章练习
  108. 第17章 表格样式
  109. 17.1 表格标题位置:caption-side
  110. 17.2 表格边框合并:border-collapse
  111. 17.3 表格边框间距:border-spacing
  112. 17.4 本章练习
  113. 第18章 图片样式
  114. 18.1 图片大小
  115. 18.2 图片边框
  116. 18.3 图片对齐
  117. 18.4 文字环绕:float
  118. 18.5 本章练习
  119. 第19章 背景样式
  120. 19.1 背景样式简介
  121. 19.2 背景颜色:background-color
  122. 19.3 背景图片样式:background-image
  123. 19.4 背景图片重复:background-repeat
  124. 19.5 背景图片位置:background-position
  125. 19.6 背景图片固定:background-attachment
  126. 19.7 本章练习
  127. 第20章 超链接样式
  128. 20.1 超链接伪类
  129. 20.2 深入了解:hover
  130. 20.3 鼠标样式
  131. 20.4 本章练习
  132. 第21章 盒子模型
  133. 21.1 CSS盒子模型
  134. 21.2 宽高:width、height
  135. 21.3 边框:border
  136. 21.4 内边距:padding
  137. 21.5 外边距:margin
  138. 21.6 本章练习
  139. 第22章 浮动布局
  140. 22.1 文档流简介
  141. 22.2 浮动
  142. 22.3 清除浮动
  143. 22.4 本章练习
  144. 第23章 定位布局
  145. 23.1 定位布局简介
  146. 23.2 固定定位:fixed
  147. 23.3 相对定位:relative
  148. 23.4 绝对定位:absolute
  149. 23.5 静态定位:static
  150. 23.6 本章练习
  151. 附录A HTML常用标签
  152. 附录B 常用表单标签
  153. 附录C CSS常用属性
  154. 附录D W3C十六色

FAQ

Is this book suitable for someone who has never programmed?
Very suitable. The book assumes zero background, starting from development environment setup and editor use, and breaks down every concept and piece of code in detail in plain language, avoiding piles of jargon.
What level will I reach after finishing the book?
You will be able to independently build common static web pages with good visual effects using HTML and CSS (such as a company homepage, personal blog, or product display page) and understand the basic principles of web page structure, laying a solid foundation for learning JavaScript.
Are the code cases and techniques in the book outdated?
The book is based on HTML5 and CSS3, covers modern techniques such as Flexbox layout, and the cases are practical. Although the front-end ecosystem changes quickly, the core syntax of HTML and CSS is very stable; the core knowledge taught here will not become outdated in the foreseeable future and is a reliable foundation for beginners.

Related on WeRead

Comments

Find this book

This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.

About the author

莫振杰 Author

Mo Zhenjie is an author focused on the field of Web front-end development, though limited public information is available about him personally. Judging from his four published works, his writing centers on core front-end technologies such as HTML, CSS, JavaScript, and HTML5 Canvas, covering levels ranging from quick introductory guides to advanced tutorials. Representative titles include From 0 to 1: Quick Start with HTML+CSS, the Web Front-End Development Premium Course: JavaScript Basics Tutorial, and Detailed Explanation of HTML5 Canvas Development, several of which belong to the "Web Front-End Development Premium Course" series. Classified under computer science and programming design, these books emphasize systematic explanation of foundational knowledge and hands-on practice, aimed at beginners and readers seeking to consolidate their front-end skills. Overall, Mo Zhenjie's works are organized in a tutorial- and course-like manner, presenting a clear teaching structure and serving as reference reading for introductory and advanced study of front-end development.

More by the same author

Top rated in the same category