Home >Web Front-end >HTML Tutorial >div tag in HTML_html/css_WEB-ITnose

div tag in HTML_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:54:371476browse

During the web page creation process, you can divide some independent logical parts and put them in a

tag. This
tag acts like a container. In order to make the logic clearer, we can set a name for this independent logical part and use the id attribute to provide a unique name for
. This is like each of us having an ID number. This ID number It uniquely identifies our identity and must be unique.

Syntax:


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