External Html Files In Pre-existing Html Files?, How do you view an external HTML file in a pre-existing file? |
||
Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
Zymic Webmaster Forums Zymic Free Web Hosting Zymic Free Web Hosting - General Discussion & Help |
||
External Html Files In Pre-existing Html Files?, How do you view an external HTML file in a pre-existing file? |
||
May 11 2009, 01:07 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Members Posts: 80 Joined: 18-October 08 From: Canada Member No.: 65,057 |
What I want to do is take the code:
CODE <h2>News/Updates</h2> <p>Date:<br /> Page:<br /> Detail:</p> and put it into a an external file like css and then link to it and have it display in my already existing html files. I am guessing I will have to use the "link" code like I did for my external css file to get it to work correctly. |
|
|
![]() |
May 11 2009, 01:41 PM
Post
#2
|
|
|
Outrageously Uber Ninja ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderators Posts: 1,805 Joined: 10-July 08 From: UK Member No.: 44,994 |
You can't do this for html code - only css.
You need to use the php include function. swordz |
|
|
May 11 2009, 03:11 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 10 Joined: 11-May 09 Member No.: 94,643 |
thanks for the wrok
|
|
|
May 12 2009, 12:55 PM
Post
#4
|
|
|
Member ![]() ![]() Group: Members Posts: 80 Joined: 18-October 08 From: Canada Member No.: 65,057 |
|
|
|
![]() |
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users) |
||
| 0 Members: | ||
Forum Jump |
||
| Lo-Fi Version | Time is now: 24th May 2013 - 12:12 AM |