In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces "which three core methods are there in the front end of web". In the daily operation, I believe many people have doubts about which three core methods in the front end of web. The editor consulted all kinds of materials and sorted out simple and easy-to-use methods of operation. I hope it will be helpful to answer the doubts about "which three core methods in the front end of web". Next, please follow the editor to study!
Web front-end three core methods: 1, HTML (Hypertext markup language), is used to describe the page of a language; 2, CSS (cascading style sheets), can be used to control the style of elements in the page; 3, JavaScript, often used to add a variety of dynamic functions for the page, to provide users with a more smooth and beautiful browsing effect.
The operating environment of this tutorial: windows7 system, CSS3&&HTML5&&javascript1.8.5 version, Dell G3 computer.
Three core technologies of web front-end (methods)
According to the W3C standard, a web page is mainly composed of three parts: structure, performance and behavior.
structure
Hypertext markup language: HTML (Hyper Text Markup Language)
HTML is used to describe the structure of the page
Html5: is a markup language, mainly composed of some tags with special meaning (building structure)
Performance
Cascading style sheets: Cascading Style Sheets
CSS is used to control the style of the elements in the page
CSS (3): is a descriptive language, consisting of a series of selectors (html elements) and attributes (exterior and interior decoration of the building)
Behavior
JavaScript is used to respond to user actions
_ JavaScript: is a scripting language that contains java-like syntax (data types, arrays, conditional branches, loops, objects...)
What is HTML?
HTML is a language used to describe web pages.
HTML refers to Hypertext markup language (Hyper Text Markup Language)
HTML is not a programming language, but a markup language (markup language)
Markup language is a set of markup tags (markup tag)
HTML uses tag tags to describe web pages
CSS
Cascading style sheets (Cascading Style Sheets)
Css can be used to create style sheets for web pages, which can be decorated with stylesheets.
The so-called cascading, you can think of the whole web page as a layer-by-layer structure, high-level will cover the low-level.
Css, on the other hand, can style each level of the web page separately.
JavaScript
JavaScript is the most popular programming language in the world. This language can be used in HTML and web, and can be widely used in devices such as servers, PC, laptops, tablets and smartphones.
JavaScript is a scripting language
JavaScript is a lightweight programming language, which belongs to interpretive language.
JavaScript is an interpretive language. The so-called interpretive value language does not need to be compiled into machine code in execution, but is executed directly.
Due to the absence of the compilation step, interpreting languages are particularly easy to develop, but the slow running of interpreted languages is also its disadvantage.
However, the JIT technology is used in the interpreted language, which improves the running speed.
JavaScript is programming code that can be inserted into a HTML page.
After JavaScript is inserted into the HTML page, it can be executed by all modern browsers.
JavaScript is easy to learn.
Object-oriented based on prototype
JS authoring location
The JS we are learning so far is all client-side JS, that is, all need to run in the browser, so we all need to write our JS code in the web page.
Our JS code needs to be written into the tag.
Attributes:
Type: the default value text/javascript may not be written, and it is also the same value if not written.
In the tag.
Attributes:
Type: the default value text/javascript may not be written, and it is also the same value if not written.
Src: use this attribute to point to the address of the file when you need to import an external js file.
At this point, the study of "which three core methods are there in the front end of web" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.