Tutorials References Exercises Bootcamps Videos Menu
Sign Up Create Website Get Certified Upgrade

AppML HTML Includes

With AppML, you can include HTML in HTML.

Including HTML in HTML

A good example of this, is to include a standard HTML footer in all your HTML pages.

This is an example of a file containing a standard footer:


<hr style="margin-top:10px;">
<p style="font-size:11px">2016&copy; W3Schools. All rights reserved.</p>

In this example the appml-include-html attribute is used to include the file "inc_footer.htm":


<!DOCTYPE html>
<html lang="en-US">

<link rel="stylesheet" href="style.css">
<script src="https://www.w3schools.com/appml/2.0.3/appml.js"></script>


<table appml-data="customers.js">
<tr appml-repeat="records">

<div appml-include-html="inc_footer.htm"></div>

Try It Yourself »