Java html What is the difference?
Java is an object-oriented programming language like C and Basic, but each has its own characteristics. The two are essentially different.
In JSP, HTML can be used for data presentation, and Java can be used for server-side logic processing. Languages such as JAVA can be understood as being mainly responsible for dynamic programming, connecting with databases, organizing web page content, etc.
html is Hyper Text Marked Language. It is just a markup language, not a programming language. It is used in almost all web pages. HTML is the display language for the front section of a web page. It is only responsible for displaying the appearance of the website, that is, its appearance. It is used to control the display of various attributes. HTML can create a static (unchanged) page.
And to display a web page, you must use HTML tags and CSS.
Recommendation: "java learning"
Related introduction:
Java working principle
It consists of four aspects:
(1) Java programming language
(2) Java class file format
(3) Java virtual machine
(4) Java application programming interface
When editing and running a Java program, these four aspects need to be involved at the same time. Use text editing software (such as Notepad, WordPad, UltraEdit, etc.) or integrated development environment (Eclipse, MyEclipse, etc.) to define different classes in Java source files, by calling methods in the classes (these classes implement the Java API) Access the resource system, compile the source file to generate a binary intermediate code, store it in the class file, and then run the class file by running the Java virtual machine corresponding to the operating system platform environment, execute the bytecode generated by the compilation, and call The methods implemented in the class file satisfy the Java API calls of the program.
HTML features are as follows:
Simplicity: Hypertext Markup Language version upgrade adopts superset method, making it more flexible and convenient.
Extensibility: The wide application of HyperText Markup Language has brought about requirements for enhanced functions and added identifiers. HyperText Markup Language uses subclass elements to ensure system expansion.
Platform independence: Although personal computers are popular, there are many people using other machines such as MAC. Hypertext Markup Language can be used on a wide range of platforms, which is another reason for the popularity of the World Wide Web (WWW).
Versatility: In addition, HTML is the universal language of the Internet, a simple and universal all-purpose markup language. It allows web page producers to create complex pages that combine text and images, and these pages can be viewed by anyone else on the Internet, regardless of the type of computer or browser used.
The above is the detailed content of What is the difference between Java html. For more information, please follow other related articles on the PHP Chinese website!