How to include a file content in HTML

zhaozj2021-02-08  240

How to include a file content in HTML

Introduction to the HTML file introduced into other HTML files: In the Forum, there are often netizens asked, can you read another HTML file in an HTML file? The answer is determined, and the method is not only one, I used to use iframe to be referenced before, and then I found out several ways. That time I summarize these methods, I feel that the third method is more it is good! 1. IFRAME introduction, look at the code below [Code]