我有一个链接,它有一个mailto链接,我在超链接本身指定主题和正文.因此,当用户单击超链接时,将打开其默认电子邮件客户端应用程序,其中预先填充了"收件人","主题"和正文.
我想知道如何在body文本中应用css格式化技术,如font名称font color等.
任何人都可以对此有任何想法吗?
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Unauthorized access</title>
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
<!-- bootstrap 3.0.2 -->
<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">
<!-- font Awesome -->
<link href="../css/font-awesome.min.css" rel="stylesheet" type="text/css" />
<!-- Theme style -->
</head>
<body class="skin-blue">
<!-- header logo: style can be found in header.less -->
<div>
<!-- Right side column. Contains the navbar and content of the page -->
<aside class="right-side" style="margin-left:0">
<section class="content">
<div class="error-page" style="margin: 0">
<div class="error-content" style="width:100%">
<h3><i class="fa fa-warning text-yellow"></i> You are not authorized to view the content.</h3> <br>
<p style="width:75%; text-align:center;margin-left:15%">
Please make sure you have the access to the server or contact support team at <a href="mailto:username@domain.com?subject=Unable to access server&body=Hi,%0D%0A%0D%0AMy user account does not have access for the server.%0D%0A%0D%0ARequest you to kindly provide access to server.">username@domain.com</a>.
</p>
</div><!-- /.error-content -->
</div><!-- /.error-page -->
</section><!-- /.content -->
</aside><!-- /.right-side -->
</div><!-- ./wrapper -->
</body>
</html>Run Code Online (Sandbox Code Playgroud)
单击电子邮件超链接时,以下消息将显示在电子邮件内容中.
我想将CSS格式应用于红色框中突出显示的内容.
| 归档时间: |
|
| 查看次数: |
5489 次 |
| 最近记录: |