How to configure font size and color when we use out.println(string) in jsp? I want print out string which is a data structure that contain some sentences.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Assuming you are generating HTML code, the font size and color are CSS attributes. You may create a
spantag with a given CSS class name, then in your CSS definition file give it the style you like:and in a CSS file: