在我的实际 html 中插入一个带有文本的子页面
Insert a subpage with text in my actual html
我有这个代码:
<div align="justify">
<table width="552" border="0">
<tr>
<td><h1 class="den_articol" itemprop="name">Name of this article</h1></td>
</tr>
<tr>
<td class="text_dreapta">On March 22, 2017, in <a href="page_1.html" title="See all articles from Page 1" class="external" rel="category tag">Marketing</a>, by My Name</td>
</tr>
</table>
<p class="text_obisnuit2">HERE TO INSERT A SUBPAGE.HTML (that has some html text content) </p>
我必须在这个div中插入一个有内容的subpage.html。所以,不只是一个简单的 link,而是一个 link 将显示 subpage.html
的内容
谁能帮帮我?
我尝试过,但没有成功:
<frameset rows="50%,50%">
<frame src="manual.htm">
<frameset cols="50%,50%">
</frameset>
</frameset>
我觉得iframe
可以帮到你:
<iframe src="otherHTML.html"></iframe>
基于您的代码
<div align="justify">
<table width="552" border="0">
<tr>
<td><h1 class="den_articol" itemprop="name">Name of this article</h1></td>
</tr>
<tr>
<td class="text_dreapta">On March 22, 2017, in <a href="page_1.html" title="See all articles from Page 1" class="external" rel="category tag">Marketing</a>, by My Name</td>
</tr>
</table>
<iframe src="otherHTML.html" class="text_obisnuit2">subpage</iframe>
</div>
我有这个代码:
<div align="justify">
<table width="552" border="0">
<tr>
<td><h1 class="den_articol" itemprop="name">Name of this article</h1></td>
</tr>
<tr>
<td class="text_dreapta">On March 22, 2017, in <a href="page_1.html" title="See all articles from Page 1" class="external" rel="category tag">Marketing</a>, by My Name</td>
</tr>
</table>
<p class="text_obisnuit2">HERE TO INSERT A SUBPAGE.HTML (that has some html text content) </p>
我必须在这个div中插入一个有内容的subpage.html。所以,不只是一个简单的 link,而是一个 link 将显示 subpage.html
的内容谁能帮帮我?
我尝试过,但没有成功:
<frameset rows="50%,50%">
<frame src="manual.htm">
<frameset cols="50%,50%">
</frameset>
</frameset>
我觉得iframe
可以帮到你:
<iframe src="otherHTML.html"></iframe>
基于您的代码
<div align="justify">
<table width="552" border="0">
<tr>
<td><h1 class="den_articol" itemprop="name">Name of this article</h1></td>
</tr>
<tr>
<td class="text_dreapta">On March 22, 2017, in <a href="page_1.html" title="See all articles from Page 1" class="external" rel="category tag">Marketing</a>, by My Name</td>
</tr>
</table>
<iframe src="otherHTML.html" class="text_obisnuit2">subpage</iframe>
</div>