How to start a new line in an email in HTML? -
i trying make html email link , in body trying start new line not know how this. code:
<a href="mailto:youremail.yahoo.com?subject=email &body=this email. new paragraph.">click send email</a> i want email body start new line between "this email." , "this new paragraph". how do this?
you need use hex representation of carriage return (%0d) , line feed (%0a)
there's not guarantee user have html set default style in email application.
<a href="mailto:youremail.yahoo.com?subject=email &body=this email.%0d%0athis new paragraph.">click send email</a>
Comments
Post a Comment