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 many types of html tags are there?

582


How comfortable are you with writing html entirely by hand?

620


What is action tag in html?

641


How do I close a browser window with html code?

702


How can I show html examples without them being interpreted as part of my document?

707


What is html text format?

664


What are tags in html?

642


Why is labelling important?

591


Do search engines dislike frames?

658


How do I specify a specific combination of frames instead of the default document?

665


How we can open a link in new tab?

649


What is demo in html?

626


What does important mean in html?

597


What is the meaning of dynamic web page?

659


What is the relation between xhtml and http?

613