The relationship between html and css

1. What is HTML (Hyper Text Markup Language)? HTML is a language used to describe web pages.
2. CSS (Cascading Style Sheets), the style defines how to display HTML elements, the syntax is: selector {property: value} (selector {property: value}).
3. JavaScript is a scripting language. Its source code does not need to be compiled before being sent to the client for execution. Instead, the character code in text format is sent to the browser for interpretation and execution by the browser.

For a web page, HTML defines the structure of the web page, CSS describes the appearance of the web page, and JavaScript settings. A very classic example is that HTML is like a person’s bones and organs, and CSS is like human skin. With These two constitute a vegetative person. With the addition of JavaScript, the vegetative person can respond to external stimuli, think, exercise, give himself plastic surgery and make-up (change CSS), etc., and become a living person.

If HTML is the body, CSS is the surface, and Javascript is the soul. Without Javascript, HTML+CSS is a vegetative state; without Javascript and CSS, it is a disfigured vegetative state.
If HTML is the architect, CSS is the decoration, and Javascript is the magician.


Continuing Learning
||
<!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Html和CSS的关系</title> <style type="text/css"> h1{ font-size:60px; color:#930; text-align:center; } </style> </head> <body> <h1>Hello World!</h1> </body> </html>
submitReset Code