Hi, I am looking for a language to build websites. Currently I am building applications with java and therefore I was wondering if there is a language which is similar to java for building websites.
PHP (most popular), ASP.NET, Ruby on Rails, Python...Java, but before that you need the basic HTML and CSS which are simple for structuring and styling web pages.
Yeah HTML and CSS are the building blocks. Nether are actually languages. HTML is merely markup that is used as meta databy the browser to build the Document Object. CSS is notational extension of markup that is serialized into the Document Object as properties of members of the nodes collection. If you have been using JAVA you will find that there is a W3C package that includes all the properties of document object and you can use javascript to access the mothods and properties of the Document Object. What you use server side depends on the environment and database requirements that the site requires. Until you you are capable and competent in HTML, CSS, and javascript do not even consider using any "easy to use" tools, frameworks, plugins of other crap sandwich nonsense. They will just turn you into a code zombie limited by the toys without any real understanding of how any of it works.
You can also use PHP. Its a web development scripting language. You can embed it with HTML/html5 and can make it look more better with extensive use of css/css3 redefining it to be responsive.
Hello, Java servlets is similar with Java, NOT PHP. Diffrerence: php script example: http://mainfacts.com/php-scripts-codes-examples/php-about-faq java servlet page example: http://www.tutorialspoint.com/servlets/servlets-first-example.htm So Java servlets are much more formalised and complicated.