如何在标题上显示图像. [英] how to display image on title .

查看:81
本文介绍了如何在标题上显示图像.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须在代码项目标题栏上显示标题上的图像....如何在asp.net中进行编码

I have to display image on title as on codeproject title bar....how to code it in asp.net

推荐答案

如果您的意思是浏览器中的标签字符串,称为收藏夹图标":
If you mean the icon on the tab string in the browser, it''s called a "favicon":
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  <meta http-equiv="content-type" content="text/html; charset=windows-1250">
  <meta name="generator" content="PSPad editor, www.pspad.com">
  <title>My Title</title>
  <link rel="SHORTCUT ICON" href="http://YourDomain/YourPath/YourIconFileName.ico" type="image/ico" />
  <body>
       My Body
  </body>
</html>

您需要上面的"link"标签

You need the "link" tag from the above


这篇关于如何在标题上显示图像.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆