Help - Search - Members - Calendar
Full Version: Building a HTML Template and linking it other HTML pages
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
tea-ch
I'm studying for a HTML test and one part of the test requires us to "create an index.html file, link your CSS and link your template file"
I have created a CSS file and HTML "template.html" file.

I fully understand adding a link to my external CSS file, but I have never learning about linking a template to an HTML file.
This test is a bit on the older side of the technology, for example it requires us to build a table as a page layout (no so great sad.gif )

So this answer maybe outdated practices, but I need to understand it (if it is even a thing)

Can anyone help???

Christian J
A template file is just a general term that means that it's indeed intended as a template for new projects.

I think this test wants an HTML file that is named "index.html", with a link to another HTML file with a table layout that can be used as a template for more pages. You might name such a template file "template.html" to let the teacher know what it is, otherwise the name doesn't matter.




tea-ch
So how do I go about this step - "named "index.html", with a link to another HTML file with a table layout that can be used as a template for more pages.
or am I over thinking this?

The "TEMPLATE" is just a file, no special link in my Index.html it's just the files I will duplicate to, rename and make my subpages?


Christian J
QUOTE(tea-ch @ Apr 5 2019, 04:01 PM) *

So how do I go about this step - "named "index.html", with a link to another HTML file with a table layout that can be used as a template for more pages.
or am I over thinking this?

I think you're overthinking. smile.gif They just want you to create two HTML pages: one called index.html, and another page with a table layout. The index page should link to the other page (which in turn probably should link back to the index page).

QUOTE
The "TEMPLATE" is just a file, no special link in my Index.html it's just the files I will duplicate to, rename and make my subpages?

Exactly.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.