2023-09-19 03:43:27
Cascading Style Sheets (CSS) is a language used to style web pages. It works with HTML. CSS was developed in 1996 by the W3C (World Wide Web Consortium) to solve the problem of web pages having different fonts, colors, backgrounds, and layout styles because HTML was not designed to tag tags. Come help in formatting the web page, divided into 3 types.
CSS can work by using English to write simple commands as a set of commands. It works with HTML as follows:
< HTML header > followed by the CSS section after the { } brackets, such as {color: red; font-size:12px;} in the display, it will be displayed according to the CSS values that we set.
1. Inline CSS is code that is embedded into the Teg line of HTML, which will cause data or objects that contain Teg that uses CSS to be displayed as coded, such as setting color values.
As shown in the picture, Teg values are set: <body> is blue and
2. Internal or embedded CSS is code that is written together with HTML code, in which the code is in the same section, such as
3. External CSS is the code used to store separate files outside of the website file, which works by Linking and Importing, such as
2024-05-31 03:06:49
2024-05-28 03:09:25
2024-05-24 11:26:00
There are many other interesting articles, try selecting them from below.
2024-10-28 01:54:10
2023-11-02 10:18:18
2023-12-12 05:54:56
2024-04-23 09:24:24
2024-03-25 01:42:28
2023-11-21 12:50:55
2024-03-15 09:32:17
2024-09-17 11:36:37