其他分享
首页 > 其他分享> > HTML——div标签

HTML——div标签

作者:互联网

可定义文档中的分区或节(division/section)

<body>

 <h1>NEWS WEBSITE</h1>
  <p>some text. some text. some text...</p>
  ...

 <div class="news">
  <h2>News headline 1</h2>
  <p>some text. some text. some text...</p>
  ...
</div>

 <div class="news">
  <h2>News headline 2</h2>
  <p>some text. some text. some text...</p>
  ...
 </div>

 ...
</body>

 

 

 

 

标签:...,headline,标签,some,HTML,text,News,div
来源: https://www.cnblogs.com/xinbing/p/16644570.html