[英]use bold font at coding side in c#
hii朋友我有一個問題請嘗試解決這個問題
msg.Body = "Hi , " + txtrfname.Text.Trim() + "!\n" + " Your RCNO is " + rcno + "!\n Thank you for showning intrasted and registration Please <a href='" + activationurl + "'>click hear to activate </a> your account and enjoy our services \n Thank you.";
我有這個代碼用c#腳本語言,現在我想在這個代碼中加粗“rcno”因為當用戶收到這封電子郵件時他們可以看到這樣的“嗨,bhavesh你的RCNO是1234謝謝你顯示內部注冊和注冊請點擊聽到激活您的帳戶並享受我們的服務\\ n謝謝。“;
聽到我想用粗體1234,所以我怎么能在編碼?
使用<strong>
:
msg.Body = "Hi , " + txtrfname.Text.Trim() + "!\n" +
" Your RCNO is <strong>" + rcno + "</strong>!\n Thank you for
showning intrasted and registration Please <a href='" + activationurl +
"'>click hear to activate </a> your account and enjoy our services \n Thank you.";
HTML強元素
<strong>
賦予文本強烈的重要性,通常以粗體顯示。
邊注:
另一種可能性是使用<b>
。 看到這里的差異。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.