Results 1 to 4 of 4
Question about asp includes Forum: Search Engine Optimization - SEO - ForumReplies: 7
Server-side Includes Forum: HTML ForumReplies: 2
quik question reguarding includes Forum: PHP ForumReplies: 0
Need some advice about includes Forum: Website Scripts ForumReplies: 2
PHP includes Forum: PHP ForumReplies: 19
06-28-2006, 09:01 AM #1
Sorry if i am being silly here, but can anyone tell me if i can use includes when coding in html.
i seem to be able to see my includes when using .asp
but they dissapear when i use html
This is cool site
my name is Rich by the way - hello to you all
06-28-2006, 09:27 AM #2
As far as I know you can't use includes in pure HTML.
When the asp generates the web page, what the browser sees is the final, processed pure HTML - all includes and calculations are finished before it gets to the browser.
06-28-2006, 01:10 PM #3
I thought that maybe the case.
I need to try and find some way of updating the same aspect of many pages with just one change - why includes are great.
I know that this can be done using templates, but i am not too fond of the code that gets dragged in with them.
i suppose i am trying to find a way of bringing an external html file into a page so that i can all be seen for SEO reasons without it being surrounded by code that is going to get in the way.
thanks for your help bud
06-28-2006, 03:37 PM #4
Don't know about asp, but if you have a file for
<doctype ...> <html> <head> ... Meta tags ... <link rel ... css file>
<doctype ...> <html> <head> ... Meta tags ... <link rel ... css file> <title>Page Title</title> </head>