javascript - Include another HTML file in a HTML file

Pubblicato il: 04 marzo 2023
sul canale di: Code Samples
10,296
131

#short
#javascript
#html
#dom
#include
I have 2 HTML files, suppose a.html and b.html. In a.html I want to include b.html.
In JSF I can do it like that:
ui:include src="b.xhtml" /

It means that inside a.xhtml file, I can include b.xhtml.
How can we do it in *.html file?
here: http://api.jquery.com/load/


In questa pagina del sito puoi guardare il video online javascript - Include another HTML file in a HTML file della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Code Samples 04 marzo 2023, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 10,296 volte e gli è piaciuto 131 spettatori. Buona visione!