How to use div to layout html pages with id or class
This article mainly explains "how to use div with id or class layout html page", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "how to use div with id or class layout html page" bar!
Div is always used to construct web frames, and most of the code uses div with id or class to construct html pages.
P is used for paragraphs of articles, and segments are labeled with p.
The screenshot below explains the release of the article by actively segmenting the p tag.
Summary: the agency HTML frame and small parts are all constructed with div and other yield tags, announcing that articles and paragraphs may adopt the p tag.
Thank you for your reading, the above is "how to use div with id or class layout html pages" content, after the study of this article, I believe you on how to use div with id or class layout html pages have a deeper understanding of this problem, the specific use of the situation also needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!