+ 11

Html goes only with JavaScript ? Why not an another language like Java, Python or else?

21st Dec 2018, 7:15 AM
Dilly Tchapda
Dilly Tchapda - avatar
6 Answers
+ 21
Every language has its own use..... HTML is 'markup' that describes the 'structure' of a document in a webpage. CSS describes the 'style' of a document. Javascript allows you to 'manipulate' a document 'dynamically'...... And the browser just brings them all together to give users a fascinating experience...... And we can,ofcourse, build websites using Python with Django web framework.........using Java with JSP(Java Server Pages) and it allows you to embed HTML in Java code files for dynamic page creation....... But the thing is we need appropriate language for particular use..... Not everything could be done using all languages........ Programming languages are purpose specific.........
21st Dec 2018, 1:40 PM
Pratika
Pratika - avatar
+ 6
It also goes with PHP, VBscript. Python does have frameworks for writing html codes. I know of flask
21st Dec 2018, 7:30 AM
Dlite
Dlite - avatar
+ 2
It also goes with PHP, CSS, Jquery
23rd Dec 2018, 7:02 AM
Fhatuwani Makhado
Fhatuwani Makhado - avatar
0
You should look for an HTML templating library and they exist in virtually every language. Here are some examples using Handlebars with Java https://www.stubbornjava.com/posts/java-html-templating-with-handlebars-and-undertow https://www.stubbornjava.com/posts/webpack-and-npm-for-simple-java-8-web-apps All source code can be found here for the above website https://github.com/StubbornJava/StubbornJava
3rd Jan 2019, 5:54 AM
Bill O'Neil
- 3
Hi. Good tea freeing game
22nd Dec 2018, 1:25 PM
Artyom Bebchik
Artyom  Bebchik - avatar