Home  >  Article  >  Web Front-end  >  CSS tutorial (1) First introduction to CSS

CSS tutorial (1) First introduction to CSS

巴扎黑
巴扎黑Original
2017-04-02 12:00:161426browse

CSS Tutorial (1) Understanding CSS

Dreamweaver4 is one of the best website editing tools today. It will be simpler and more convenient to use it to create CSS style sheets for web pages. This tutorial teaches you how to use Dreamweaver4 to add CSS to the page. You don't need to memorize code tags by rote, and you don't need to read a thick CSS manual. You can use CSS in the web page easily. But first you need to have a certain understanding of CSS. Therefore, the first four chapters of this tutorial are CSS theoretical knowledge, mainly a comprehensive introduction to CSS. I hope readers will have a comprehensive understanding of the syntax, structure, and application of CSS after reading it; the next four chapters are DW practical, mainly to teach you How to use Dreamweaver4 to flexibly use CSS in web pages. Before reading this article, you need to have a certain understanding of HTML and be able to use Dreamweaver.

1. Understanding CSS

CSS is Cascading style Sheets, which is translated into Chinese as "cascading style sheets", or style sheets for short. It is a new technology for making web pages.

Web design originally used HTML tags to define page documents and formats, such as title

, paragraph

, table

, link , etc., but these tags cannot To meet more document style requirements, in order to solve this problem, when the W3C (The World Wide Web Consortium) promulgated the HTML4 standard in 1997, it also announced the first standard CSS1 for style sheets. Since the version of CSS1, it has also The CSS2 version was released in May 1998, and the style sheet was further enriched. W3C divides DHTML (Dynamic HTML) into three parts for implementation: scripting language (including javascript, Vbscript, etc.), browsers that support dynamic effects (including Internet Explorer, Netscape Navigator, etc.) and CSS style sheets.

You can use CSS to precisely control the font style, background, arrangement, area size, and adding borders around each element on the page. Using CSS can simplify the format code of web pages and speed up download and display. External link styles can define multiple pages at the same time, greatly reducing the workload of repeated work.

Note: CSS requires IE4 (Internet Explorer 4.0) and NC4 (Netscape 4.0) or above browser support, and some effects require higher version browser support.

The above is the detailed content of CSS tutorial (1) First introduction to CSS. For more information, please follow other related articles on the PHP Chinese website!

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