Home >Web Front-end >CSS Tutorial >What is css technology
What is CSS? Maybe you've heard of CSS, but don't really know what it is. In this article you will learn more about CSS and what it can do.
CSS is the abbreviation of Cascading Style Sheets.
What can you do with CSS?
CSS is a style sheet language used to define the layout of HTML documents. CSS can perform pixel-level precise control over the layout of element positions in web pages, supports almost all font sizes and styles, and has the ability to edit web page objects and model styles.
For example, CSS involves fonts, colors, margins, height, width, background images, advanced positioning, etc.
Of course HTML can also add layout effects to the website, but it may be misused. CSS provides more choices and is more precise and complete. All browsers now support CSS.
What is the difference between CSS and HTML?
HTML is used for structured content; CSS is used for formatting structured content.
In the era when Tim Berners-Lee invented the World Wide Web, HTML was the only language used to add structure to text.
Authors can mark up text by stating "This is a heading" (using the h1 tag) or "This is a paragraph" (using the p tag).
As the Web gradually became popular, web designers began to seek the possibility of adding layout to web pages. To this end, browser manufacturers at the time (Netscape and Microsoft) invented some new HTML tags (such as , etc.) to introduce a new layout - not a new structure.
This has also resulted in tags originally used for structuring text (such as