> Java help with HTML included?

Java help with HTML included?

Posted at: 2014-06-09 
I'm having a problem displaying a box where the user can input data. It's okay if the string is just one word, but if it is more than one it messes "What would you like the section heading to be on your webpage?" I've even tried .nextLine and it still isn't working. Can anyone help? Also this is a webpage generator so I have to include HTML but I'm not sure how to do that. Any advice on that? Thanks y'all! :) CODE: //Title of webpage System.out.println("What would you like the title of your webpage to be?"); String d; d = in.next(); //Heading title System.out.println("What would you like the section heading to be on your webpage?"); String e; e = in.nextLine(); //Text of webpage System.out.println("Please enter your text of your section:"); String f; f = in.nextLine();