当前位置:在线题库搜索>[单选题]You create a master page named Article.master. Article.master serves as the template for articles on your Web site. The master page uses the following page directives. You need to create a content page that uses the master page as a template. In addition, you need to use a single master page for all devices that access the Web site. Which code segment should you use? ()的答案是什么?

问题:

[单选题]You create a master page named Article.master. Article.master serves as the template for articles on your Web site. The master page uses the following page directives. <%@ Master Language="VB" CodeFile="article.master.vb" Inherits="article" %> You need to create a content page that uses the master page as a template. In addition, you need to use a single master page for all devices that access the Web site. Which code segment should you use? ()

A、<%@ Page Language="VB" Theme="article"%>
B、<%@ Page Language="VB" MasterPageFile="~/article.master"%>
C、<%@ Page Language="VB" ie:MasterPageFile="~/article.master"%>
D、<%@Page Language="VB" all:MasterPageFile="~/article.master"%>

参考答案: B

相关内容