页面标题是一个很好的小功能,可以在页面上的标题周围添加适当的间距.这对于您可能有多个帖子标题的网页尤其有用,并且需要一种方法来为每个帖子添加区别.要使用页眉,请将标题包装在< div>中一类 .page-header :
<div class = "page-header"> <h1> Example page header <small>Subtext for header</small> </h1> </div> <p>This is a sample text.This is a sample text.This is a sample text. This is a sample text.</p>