My html page is becoming too long and so i want to shorten it by putting related tags in a new file and link it to the original file.. Can this be done?? if yers, How??
| SitePoint Sponsor |
My html page is becoming too long and so i want to shorten it by putting related tags in a new file and link it to the original file.. Can this be done?? if yers, How??


If you mean the mark-up is too long, you can move all CSS and javascript to external files. And if you have server-side scripting (like PHP), put stuff that's common to many pages in "includes". If you mean the rendered page is too long, consider breaking up the page into smaller pages.
^^^What he said.
If you can point us to the page, more specific advice can be given.
Only dead fish go with the flow
noooo i have done all that. i mean my HTML code is getting too long. Is there a way to make it into separate files and then include them in the original html file
nup cant do any including (other than js and css files) without server-side scripting


If the page is really long, you might be better off with more pages SEO-wise. If the page has H tags, maybe do something like make the H2-s into their own pages. Since you've already removed all the style and javascript from the mark-up, it will be easy to have multiple pages that look and act consistent.
Bookmarks