使用标题标签标记内容,为了每个人都知道接下来发生什么。
简介
<h1> , <h2> 和 <h3> 标签用于定义标题。
它们适用于标注内容。
默认代码
<!-- 标头标签用于标注内容。-->
<!-- <h1>标签用于页面标题。 -->
<!-- <h2>到<h4>标记是子标题。-->
<h1>[What?]</h1>
<!-- ∆ 将此行更改为任何内容-->
<h2>Ogreball</h2>
<!-- 添加另一个带有运动名称的<h2>! -->
概览
#标头标签
标题是标记内容的一种方式。 使用 <h1> , <h2> 和 <h3> 标签添加标题。 这些是开放和关闭的标签,因此包括像</h1> 这样的结束标签。
<h1> tBest Game </h1>
<p>
CodeCombat has ogres! Ogres are blue and stomp around angrily. I beat up ogres and
get experience
for winning.
</p>
头条新闻 解法
<!-- 标头标签用于标注内容-->
<!-- <h1>标签用于页面标题。-->
<!-- <h2>到<h4>标记是子标题。-->
<h1>[What?]</h1>
<!-- ∆ 将此行更改为任何内容。-->
<h2>Ogreball</h2>
<!--添加另一个带有运动名称的<h2>! -->
<h2>Griffin Soccer</h2>
本攻略发于极客战记官方教学栏目,原文地址为:
https://codecombat.163.com/news/jikezhanji-toutiaoxinwen
来源:oschina
链接:https://my.oschina.net/u/4441837/blog/3192624