English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

anyone who knows, please tell me how it is in html codes..

in .php
in .asp
in .html ? is it possible?

2006-10-04 03:37:39 · 4 answers · asked by James Bond 5 in Computers & Internet Programming & Design

4 answers

The only things you can include in an HTML file are:
- the javascript as another answer has already said, plus
- a CSS (Cascadig Style Sheet) file using the @import tag. Info available here
http://www.w3.org/TR/REC-CSS2/cascade.html#x5

But you cannot import an HTML page into another HTML page using HTML, except as described above.

2006-10-08 01:00:07 · answer #1 · answered by Mark aka jack573 7 · 1 0

You can't use HTML to include a file. HTML is only meant to display elements on a page. If you need to include files on the client side rather than on the server side like with ASP and PHP, you can use JavaScript.