Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the relationship among html, div and css

2025-04-10 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces the relevant knowledge of "what is the relationship among html, div and css". The editor shows you the operation process through an actual case. The operation method is simple, fast and practical. I hope this article "what is the relationship among html, div and css" can help you solve the problem.

First, introduce div css html separately.

1 、 html

Here html usually refers to the html web page, first of all, the HTML web page source code has certain rules of the code composition. Html is also known as hypertext.

2 、 div

Here we refer to the div tag, is the layout of the page's html tag, is located in one of the html code tags, so we can expand, here div generally refers to one of the html tags, html tags also include span tags, strong tags, b tags, br tags, p tags, table tr td tags, input tags, form tags and other tags.

3 、 css

Here css we refer to setting the tag layout style in html, such as setting the tag css width, css height, css bold, css background, css border border, css float and other styles in html.

Second, the difference between html div css

We can think of html as composed of div tags and css styles, while html is made up of several html tags (div represents all tags because div is more used in html) and content. Usually we call it CSS for short, but in fact, this CSS includes DIV+CSS to form a layout html page.

It can be understood that div is a tag, css is to set the label style (dress), and html is a web page made up of tags such as div.

III. Summary of html div css understanding

We usually talk about DIV CSS do not think that has nothing to do with HTML, in fact, we usually say CSS DIV learning or layout is actually referring to the HTML layout, but we layout HTML when using DIV more, and also use CSS style sheets, so we simply called DIV CSS, or directly more simply called CSS. In fact, the usual CSS layout, CSS cut, CSS refactoring, DIV CSS, CSS+DIV are actually abbreviations of HTML layout. To learn CSS is to learn the layout of HTML pages. It's just that the CSS layout includes material slices of art drawings.

This is the end of the content about "what is the relationship among html, div and css". Thank you for your reading. If you want to know more about the industry, you can follow the industry information channel. The editor will update different knowledge points for you every day.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 207

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report