@maxdancona,
Thanks for the reply.
In the form the user enters the Author's name and book title and after clicking a button, the result will be shown as: ((Book Tile +"by"+ Author's name)), but Author's name should be italic.
<label for="txtLastName">Author Name</label>
<input type="text" id="txtName" size="50" placeholder="Eg, Darwin" maxlength="50" style="font-style:italic">
<label for="txtTitle">Book Title</label>
<input type="text" id="txtTitle" size="40" placeholder="Eg, The Origin of Species" maxlength="100">
Please have a look at the input/ output I have below. Also please note that the placeholder in author's input text field in the form looks in italics but the input string when turns to output in text area is not in italics.
Input:
Author: Charles Dickens
Book: Oliver Twist
Output in a textarea:
Oliver Twist by Charles Dickens /* Charles Dickens should be in italics */
Thanks