String s=
"<html>
<head>
<title>app</title>
</head>
<body bgcolor="pink">
<div align="center"><img src="" width="900" height="100"/>
</div>
<h2 align="center">Welcome to your rewards program</h2>
<table>
<tr>
<td><p> You now have ongoing uninterrupted access to thousands of discounts all on your phone .Accessing great savings just got so easier . You can search by category , by keyword and also search local with what around me. Select a merchant offer you like and present the coupon on your phone at the time of settling your bill . Some merchants only offer their services online and you will also be able to click through to their online offerings .
GIN image</p></td>
</tr>
</table>
</body>
</html>";
我想将 html 数据添加到字符串中,但它给了我错误。我该如何解决这个问题?我使用了转义序列,但没有用。
谢谢