Embed ".html" file into ".aspx" file

Joined
Jul 25, 2007
Messages
1
Reaction score
0
I want to embed a .html file into my .aspx page. My asp.net page has a master page:
______________________________________________________________
<%@ Master Language="VB" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
&nbsp;<div style="text-align: left">
<table style="z-index: 113; left: 6px; width: 816px; position: absolute; top: 15px;
height: 583px">
<tr>
<td style="height: 38px" width="20%">
</td>
<td style="width: 66px; height: 38px">
<h1>
&nbsp;My Web Page</h1>
</td>
</tr>
<tr>
<td style="width: 2px">
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1" Style="z-index: 100;
left: 15px; position: absolute; top: 136px">
</asp:Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" />
&nbsp;
</td>
<td width="80%" align=left valign=top>
<asp:contentplaceholder id="ContentPlaceHolder1" runat="server">
</asp:contentplaceholder>
</td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>

______________________________________________________________

The page where I want to embed the html file has these codes:
______________________________________________________________
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" Title="My Web Page - Dreams" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div class="Section1">

This is where I will embed the html file into.

</div>
</asp:Content>
______________________________________________________________
what codes shd i use to embed in? Please advise! Thank you!
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,222
Members
46,810
Latest member
Kassie0918

Latest Threads

Top