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

What is an alt tag for an image?

590


What are the five html tags?

627


What is the difference between basefont and font tag?

741


What is the form tag?

657


How old is html?

639


What is tag and attribute?

620


What are the new attributes provided in HTML5 for

?

579


How many types css can be include in html?

620


Which doctype is correct for html5?

646


What is   in html?

608


Is colgroup deprecated?

666


Why do we use href?

614


What is an h2 tag?

629


Which should I use, &entityname; or &#number; ?

669


What are differences between div and span?

770