In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
Today, the editor will share with you the relevant knowledge about the advantages and disadvantages of the standard layout architecture of div and css web pages. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article.
The full name division of DIV means "chunk, split", and the DIV tag is a meaningless container tag that divides the page into different areas. By subdividing complex pages into blocks through DIV, the problem can be subdivided and solved one by one, so dividing pages into blocks through DIV is not only a key work, but also a prerequisite to determine the final effect and quality.
Css
CSS (Cascading Style Sheet), translated into cascading style sheets in Chinese, is a markup language that controls the style of a web page and allows the separation of style information from the content of a web page.
Div carries content, while css carries style
Shortcomings of div+css
1. Use is relatively complex
Compared with the table layout in html, the divcss layout is relatively complex and requires more knowledge.
The compatibility problem of website browser designed by 2.CSS is more prominent.
The support for CSS varies slightly from browser to browser, but these small differences can also make websites display differently in different browsers, even beyond recognition.
Why use div+css
1.div+css is the web standard and conforms to the trend.
two。 Make up for the functional defects of html tags.
3. Accelerate the speed of page loading and reduce traffic costs.
4. More friendly to the search engine, more conducive to include and crawl your page.
5. Separate the content and performance of the page, facilitate maintenance and management, and save a lot of manpower and costs.
How to use css to control page styles
1. Inline style
two。 Embedded style
3. Selector {attribute 1: value 1; attribute 2: value 2;}
4. External styl
These are all the contents of this article entitled "what are the advantages and disadvantages of div and css web page standard layout architecture?" Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.
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: 0
*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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.