Home > Web Front-end > HTML Tutorial > Example code for sending emails from html favorites and setting the homepage

Example code for sending emails from html favorites and setting the homepage

高洛峰
Release: 2017-03-31 11:41:03
Original
2104 people have browsed it

This article mainly introduces in detail the example code for setting the homepage of sending email from html favorites. It has certain reference value. Interested friends can refer to it

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"   http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv = "content-type" content="text/html;charset=utf-8"/><!--设置编码集  同时注意设置的编码集方式要和保存时方式相同  save as -->
<a href="javascript:window.external.AddFavorite(&#39;http://www.baidu.com&#39;,&#39;编程&#39;)">收藏</a>
</head>
<body>
<a href="javascript:window.external.AddFavorite(&#39;http://www.baidu.com&#39;,&#39;编程&#39;)">收藏</a>
<a href="mailto:1032036512@qq.com">联系我们</a>
<a href="#" onClick="this.style.behavior=&#39;url(#default#homepage)&#39;;this.sethomepage(&#39;http://www.baidu.com&#39;)">设为首页</a>
</body>
</html>
Copy after login

The above is the detailed content of Example code for sending emails from html favorites and setting the homepage. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template