Home  >  Article  >  Web Front-end  >  DIV Commonly used HTML tags for CSS layout_html/css_WEB-ITnose

DIV Commonly used HTML tags for CSS layout_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 12:31:05803browse

Code composition:

Display content

There are a lot of HTML codes. Please remember the code when we layout the DIV CSS:

Paragraph tag tr>

标签

作用

DIV

大范围布局定位,如盒子(包含全部),头部、中部、底部

H1~H5

标题标签,一个页面尽可能只出现一个标题标签

UL LI

OL LI

UL LI,是无序排列列表

OL LI标签有序排列

常用在页面的新闻列表

  • 新闻列表标题
  • 新闻列表标题
  • 新闻列表标题

Dl dd dt

插入图片

插入文字

常用在图文结合.

P

段落标签

A

超连接有邱鹏

无作用,一般用在只能CSS给他固定样式

Img

页面引入图片的标签

Title

标题标签

Meta的name属性(keywords, description, author)

页面关键词,页面说明,页面作者等

其它HTML

标签请查看HTML手册

Tag
Function
DIV td> Large-scale layout positioning, such as box (including all), head, middle, bottom
H1~H5 Title tag, try to have only one title tag on a page
UL LI OL LI UL LI, is an unordered list OL LI tags are arranged in order News list commonly used on the page
  • News List Title
  • News List Title
  • News list title
Dl dd dt
Insert picture
Insert text
Commonly used in combining pictures and text.
P
A Hyperlink with Qiu Peng
It has no effect, generally it can only be used to give it a fixed style using CSS
Img Tags for images introduced into the page
Title Title tag
Meta’s name attribute (keywords, description, author) Page keywords, page description, page author, etc. td>
Other HTML Please check the HTML manual
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn