+ 11
Html goes only with JavaScript ? Why not an another language like Java, Python or else?
6 ответов
+ 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.........
+ 6
It also goes with PHP, VBscript.
Python does have frameworks for writing html codes. I know of flask
+ 2
It also goes with PHP, CSS, Jquery
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
- 3
Hi. Good tea freeing game