0

Can we write html code in java?

By giving inputs like heading, image and dynamically add text and it should run on default browser

7th Oct 2017, 12:50 PM
Elavarasi
Elavarasi - avatar
9 Answers
+ 2
I do not think it will work
7th Oct 2017, 1:09 PM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
0
Why are you useing Java for Web development?
7th Oct 2017, 1:10 PM
josh mizzi
josh mizzi - avatar
0
@josh just want to know whether we can or not
7th Oct 2017, 1:12 PM
Elavarasi
Elavarasi - avatar
0
Hang on a second, you don't mean Javascript do you? JAVA and Javascript are different.
7th Oct 2017, 1:15 PM
josh mizzi
josh mizzi - avatar
0
No, I didn't mean javascript
7th Oct 2017, 1:16 PM
Elavarasi
Elavarasi - avatar
0
OK in that case no. Java is a compiled language HTML is interpreted. There are however java objects that can be used to process and display HTML.
7th Oct 2017, 1:19 PM
josh mizzi
josh mizzi - avatar
0
Thank you
7th Oct 2017, 1:19 PM
Elavarasi
Elavarasi - avatar
0
That is fine I am glad to have helped.
7th Oct 2017, 1:20 PM
josh mizzi
josh mizzi - avatar
0
a giant NO. :)
7th Oct 2017, 2:26 PM
Kent
Kent - avatar