technomark.in
Hot News

$(this) Selector And Children / Find In jQuery

Detect An Undefined Object Property In JavaScript

Rotate And Save Video Using VLC Media Player

Capitalize The First Letter Of String In JavaScript

Convert Any Files To Any Format Using VLC Media Player

Asp.Net AngularJS WCF IIS
DataBase Jquery Bikes Random
HomeContact Us Watch Our YouTube Channel ..........Blog Spot..........

Technomark.in

How To Logout From All Devices In Skype

Technomark.in

How To Embed Google Map In Your Code

Technomark.in

How To Install IIS (Internet Information Services) On Windows

Technomark.in

Enable Directory Browsing In IIS

View All


Include Another HTML File Inside A HTML File


Include Another HTML File Inside A HTML File

> Here we consider how to Include Another HTML File Inside A HTML File.
> Suppose we have two HTML files. HtmlPage1.html, HtmlPage2.html.
> we wants to include HtmlPage2.html inside HtmlPage1.html.

Include Another HTML File Inside A HTML File - Step 1

> Inside HtmlPage1.html, there are two div with class FirstDivID and SecondDivID.

The structure of HtmlPage1.html

Include Another HTML File Inside A HTML File, Include A HTML File Inside Another HTML File, Include An HTML File Inside Another HTML File, Include An HTML File In Another HTML File, Include HTML File, Add HTML File In Another HTML File, Append HTML File

> We wants to include HtmlPage2.html file inside SecondDivID on HtmlPage1.html.

The structure of HtmlPage2.html



Include Another HTML File Inside A HTML File - Step 2

> Now on HtmlPage1.html, on Script part, add following code.

Include Another HTML File Inside A HTML File, Include A HTML File Inside Another HTML File, Include An HTML File Inside Another HTML File, Include An HTML File In Another HTML File, Include HTML File, Add HTML File In Another HTML File, Append HTML File

Include Another HTML File Inside A HTML File, Include A HTML File Inside Another HTML File, Include An HTML File Inside Another HTML File, Include An HTML File In Another HTML File, Include HTML File, Add HTML File In Another HTML File, Append HTML File

> We have to load HtmlPage2.html inside SecondDivID using Jquery.
> That's all, run the application, we can see the result.

End Result On Developer Tool

Include Another HTML File Inside A HTML File, Include A HTML File Inside Another HTML File, Include An HTML File Inside Another HTML File, Include An HTML File In Another HTML File, Include HTML File, Add HTML File In Another HTML File, Append HTML File

Watch Video of this Content on Video Steaming

Post Your Comment

Name *


Email *


Comment * Please provide all three fields for posting Comment




Comments

Rguig:
Why you put  images of code  on description, it will be better to put  a real code to simplify the copy/past for users 
swati:
can you please give me complete code as zip file.


thank  you

swati

Technomark.in

Book Train Tickets on IRCTC Quickly During Tatkal Period

Technomark.in

Before You Copy Any Image From Internet

View All

Privacy StatementDisclaimerSitemap