Training

Chapter 2 核心基础

Source code:

<h1 style="color:#f00;">Hello,HTML!</h1>

5个概念

  1. 元素 element h1
  2. 标记 tag
    • 起始标记 start tag <h1 style="color:#f00;">
    • 结束标记 end tag </h1>
  3. 属性 attribute style
  4. 值例 value color:#f00;
  5. 内容 content Hello,HTML!