Cascading style sheets
css CSS syntax
Content:Cascading Style Sheets (English full name: Cascading Style Sheets) is an application used to express HTML (an application of Standard Generalized Markup Language) or XML (a subset of Standard Generalized Markup Language) Computer language for file formats. CSS can not only statically modify web pages, but can also cooperate with various scripting languages to dynamically format various elements of web pages. 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.
css CSS example
<!DOCTYPE html> <html> <head> <title>这是标题</title> <meta charset="utf-8"> </head> <style type="text/css"> p { color: #ff0000; } </style> <body> <p>这是我的第一个网页</p> <p>css中编写了p标签的颜色为红色</p> </body> </html>
Run instance »
Click the "Run instance" button to view the online instance