How TO - Include HTML

Hello,

 

Ref: http://www.vgwoodhouse.co.uk/contactus.htm

Line 212

<div w3-include-html="footer-all.html"></div>

 

Error:

Error: Attribute w3-include-html not allowed on element div at this point.

>From line 212, column 2; to line 212, column 40

er -->↩↩↩ <div w3-include-html="footer-all.html"></div>

 

I have used code equivalent to w3schools example, reproduced below,  and have been unable to clear validation.

 

Kindly let me know the solution.

 

Regards

 

Vic Woodhouse 020 8810 4500

 

V.G. Woodhouse & Co. 12 a The Mall Ealing London W5 2PJ

Chartered Certified Accountants, Registered Auditors

http://www.vgwoodhouse.co.uk/

 

 

http://www.w3schools.com/howto/howto_html_include.asp

Full Example

Example

<!DOCTYPE html>

<html>

<script src="http://www.w3schools.com/lib/w3data.js"></script>

 

<body>

 

<div w3-include-html="content.html"></div>

 

<script>

w3IncludeHTML();

</script>

 

</body>

</html>

Received on Tuesday, 12 July 2016 14:35:02 UTC