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.
2023-10-06 11:51:36
2024-08-06 05:23:10
2024-01-25 02:50:38
2024-10-10 10:32:48
2023-09-05 09:25:29
2023-10-11 09:59:45
2024-08-26 09:09:20
2023-11-09 01:19:57