Introduction to CSS

CSS helps a lot when writing a web page in HTML.

CSS là gì?

CSS stands for the English phrase "Cascading Style Sheet".

CSS describes how HTML elements appear on screens and other media.

CSS is very useful and convenient. It can control all the pages on a website.

External stylesheets are stored as .CSS files.

Why use CSS?

CSS is used to define the style of the pages on your website, including the design, layout, and different ways of displaying on many devices with different screen sizes.

CSS helps solve the big problem of HTML.

HTML has no element to format the web page. HTML is only used to create the content for the page. When elements like and color attributes were added to HTML 3.2, web developers' nightmare began. Developing a large website that adds font or color information to each page requires a lot of time.

To solve this problem, the World Wide Web Consortium (W3C) created CSS, which removes the styling of the HTML page. The definitions related to the style are included in the .css file and thanks to the .css file. external stylesheet information, you can change your entire website with a single file.