In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "what is the relationship between html/css/js", the content is detailed, the steps are clear, and the details are handled properly. I hope this article "what is the relationship between html/css/js" can help you solve your doubts.
Brief introduction and simple Division of HTML, CSS and JavaScript
1. What is HTML (Hypertext markup language HyperTextMarkupLanguage)? HTML is a language used to describe web pages.
2. CSS (cascadingStyleSheets). The style defines how HTML elements are displayed. The syntax is: selector {property:value} (selector {attribute: value})
3. JavaScript is a scripting language, its source code does not need to be compiled before it is sent to the client for operation, but sends the character code in text format to the browser to be interpreted and run by the browser.
For a web page, HTML defines the structure of the web page, CSS describes the appearance of the web page, JavaScript sets a very classic example is that HTML is like a person's bones and organs, and CSS is a person's skin, with these two will constitute a vegetative person, plus javascript this vegetative person can respond to external stimuli, can think, exercise, can give their own cosmetic makeup (change CSS), and so on. To be a living person.
If HTML is the flesh, CSS is the skin, and Javascript is the soul. No Javascript,HTML+CSS is a vegetable, no Javascript, CSS is a disfigured vegetable.
If HTML is an architect, CSS is a decorator and Javascript is a magician.
How to connect the three together, of course, through the physical HTML,HTML of the web page is always the description language, it is to describe itself to the browser, so how does it usually describe the specific web page?
Page title
This is a paragraph.
This is the simplest HTML document, the document says, browser, I follow the W3C standard XHTML1.0 transitional version specification (file type declaration), my code is utf-8, my title is "web page title", the stylesheet describing my appearance is my mycss.css file in the same directory, and the javascript code related to me is in my peer myks.js file, my content has a paragraph. The content of the paragraph is "this is a paragraph".
After reading this, the article "what is the relationship of html/css/js" has been introduced. If you want to master the knowledge points of this article, you still need to practice and use it yourself. If you want to know more about related articles, welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.