有什么区别 ? [英] what is the difference ?

查看:83
本文介绍了有什么区别 ?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在指令中或以< title>开头设置title的不同之处标签?

what is different to set title in directive or in head with <title> tag ?

<%@ Page Title="---" Language="C#"





<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<title>---</title>
</asp:Content>

推荐答案

是完全一样的东西.但是,它在您的第二个示例中不起作用,因为标题必须在Page指令或Head标记上.

问候
Is exactly the same thing. But, it doesn''t work in your second example, because title must be on Page directive or Head tag.

Regards


这篇关于有什么区别 ?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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