Why XML has replaced HTML as the main mark up language to create Webpages?
Answers
Answered by
0
This is not a new concept. Php is a server side language which can be used to produce HTML that a browser can understand. When you visit the website, php code is executed and any resulting HTML is displayed.
You are basically trying to reinvent HTML because you are implying that no existing browser can interpret the result of the Java code which your program produces. For this I wish you luck, HTML has been improved on greatly over the years especially with HTML 5, so coming up with a replacement will take a certain level of ingenuity. Remember that HTML has its siblings like CSS and JavaScript, so you have to replace those as well.
As long as you have Java running server side, you should be mostly fine, however if you are trying to replace JavaScript with Java, you will be running into security boundaries. This mostly due to the fact that most browsers will simply refuse to run any Java applets directly from the web. This is because Java has it's own VM which handles everything a Java program wants to do (I mean everything whether good or bad), therefore since the browser can not determine what the program is trying to do it just won't let the program execute.
Well gl my friend, I really wish you the best and hope that you can do this. If you do, you will be going down in history, whether as a tyrant or vigilante your work will influence web browsing.
You are basically trying to reinvent HTML because you are implying that no existing browser can interpret the result of the Java code which your program produces. For this I wish you luck, HTML has been improved on greatly over the years especially with HTML 5, so coming up with a replacement will take a certain level of ingenuity. Remember that HTML has its siblings like CSS and JavaScript, so you have to replace those as well.
As long as you have Java running server side, you should be mostly fine, however if you are trying to replace JavaScript with Java, you will be running into security boundaries. This mostly due to the fact that most browsers will simply refuse to run any Java applets directly from the web. This is because Java has it's own VM which handles everything a Java program wants to do (I mean everything whether good or bad), therefore since the browser can not determine what the program is trying to do it just won't let the program execute.
Well gl my friend, I really wish you the best and hope that you can do this. If you do, you will be going down in history, whether as a tyrant or vigilante your work will influence web browsing.
Similar questions