The difference between html and java
The two are essentially different.
Java is an object-oriented programming language, like C and Basic, but each has its own characteristics.
Java is a programming language with many advantages. It can write web pages; but that language is called JSP, and JSP language is a technology of the JAVA programming language. [Recommended learning: Java Video Tutorial]
In JSP, HTML can be used for data presentation, Java can be used for server-side logic processing, and languages such as JAVA can be understood to be mainly responsible for dynamic programming. , connect with database, organize web content, etc.
HTML is the basic tag language used to create static web pages, and html is Hyper Text Marked Language (Hyper Text Marked Language), which is just a markup language, not a programming language, and 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.
Learning HTML is the basis for making web pages and websites. Learning HTML is faster. If you want to use JSP language to create web pages, you must first learn the HTML tag language, because HTML is the basis of all web pages.
The above is the detailed content of What is the difference between html and java?. For more information, please follow other related articles on the PHP Chinese website!