打印 上一文章 下一文章

[公告] Div itself is essentially a container

[複製網址]
1
You can embed not only tables, but also text and other HTML code; CSS is the abbreviation of CascADIngstyleSheets, translated into "cascading style form" in Chinese, and CSS technology is used in the production of the home page, which can effectively control the page layout, font, color, background and other effects. You can change the appearance and format of different parts of the same page or all pages by making some simple changes to the corresponding code. The Div+CSS standard has the following advantages: due to the use of CSS layout, unlike table layouts full of attributes and numbers, and many CSS files are usually universal, thus greatly reducing the page code and improving the speed of page browsing.
Clear structure, more friendly to search engines. It is easier to be included by the search engine, with the inherent conditions of the search engine SEO, coupled with excellent content and some SEO processing, you can get a better site ranking. Good compatibility, in line with the development trend of web standards and specifications, can be used in almost all browsers, and will not have a wide range of effects in different browsers. Shorten the revision time, because the layout of the site is controlled by external CSS files, and you can update the style and format of many pages at the same time by simply modifying a few CSS files, rather than page by page. You can use a single CSS file to control all page styles on your site, and as long as you modify the corresponding line in the CSS file, all pages of the entire site will change accordingly.
Strong font control and typesetting ability, CSS font control ability is much better than poor font tags, CSS no longer need to use font tags or transparent 1px images to control the title, change font color, font style and so on. To improve ease of use, you can use CSS to construct HTML, for example: the p tag is only used to control paragraphs, the h1-h6 tag is only used to control headings, the table tag is used only to represent formatted data, and so on. You can add users without having to create a separate version. Better scalability. Your design is not only suitable for Web browsers, but can also be published on other devices, such as powerpoint. More flexible control of the page layout, usually the page is downloaded in the order of the code, while the arrangement of the table layout code is from top to bottom, from left to right, and cannot be changed.
Using the CSS control, you can change the order of the code at will, such as loading the important content on the right first. performance and content are separate, neat, the design part is stripped off in a separate style file, and the page is mainly used to place your content, which can reduce the likelihood that the page will not be valid in the future. For search engines, it is more convenient to include and get higher reviews. Unlike HTML nested tags that contain only structured content, search engines will search your content more effectively and may give you a higher rating (ranking). The table layout of the table is not very flexible and can only follow the tabletrtd format. And div you can divulli,olli or ulli12,Table table layout, there will be a lot of spam code, some modified styles and layout code mixed together, it is not conducive to intuition. On the other hand, Div can better reflect the separation of style and structure, and the reconstruction of structure is strong. 13. Some of the functions that had to be achieved through image conversion in the past can now be easily implemented using CSS to download pages faster.

收藏收藏 推 噓
您需要登錄後才可以回文 登錄 | 註冊

本版透可值規則

快速回覆 返回頂部 返回列表