Im trying to understand how to insert a section of HTML into a larger doccument. Im building a website with a sidebar containing a news section and a few links, the whole sidebar is manual, and is copy/pasted to each page, i want to make a system where i insert the code into the webpage from a master document, so changing a master will affect all pages importing it, i dont want to make the news page a seperate web page, imported by something like iframe, any sugjestions would be super apreciated, thanks!
Asked
Active
Viewed 27 times
1 Answers
-1
Try using the <iframe>
tag to embed the page into the other page
Example:
<iframe src="https://google.com"> </iframe>

Will
- 122
- 1
- 9