How do I include one file in another?

Answer Posted / guest

Use server-side includes, if your server supports them. Ask
your Webmaster if this is the case, and if so, what the
exact syntax is for your server.

Since server-side includes make the document slower, they
are not always desirable. If your documents only have a
static footer, which doesn't change every day, you might be
better off by using an editor which can insert files in the
current document, or a preprocessor. The C preprocessor can
do this, but there are also several HTML-specific
preprocessors available. I recommend

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I create a link that opens a new window?

485


Why to use xhtml.

480


What is a list tag and mention the most commonly used list tags?

391


Explain html headings?

535


How to create a hyperlink in html?

476






What is HTML5 Web Storage?

531


what purpose does html5 serve?

472


If I do not put will HTML 5 work?

482


What are Web Workers?

513


Why doctype is used in html?

457


What is meant by scripting language?

427


What is an xhtml element?

492


What are empty elements?

450


What do you call html tags with no closing tags?

438


What language is pt br?

434