The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Building a HTML Template and linking it other HTML pages
tea-ch
post Apr 5 2019, 07:58 AM
Post #1





Group: Members
Posts: 2
Joined: 5-April 19
Member No.: 26,870



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???

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Apr 5 2019, 08:25 AM
Post #2


.
********

Group: WDG Moderators
Posts: 8,239
Joined: 10-August 06
Member No.: 7



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.




User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
tea-ch
post Apr 5 2019, 09:01 AM
Post #3





Group: Members
Posts: 2
Joined: 5-April 19
Member No.: 26,870



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?


User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Apr 5 2019, 09:34 AM
Post #4


.
********

Group: WDG Moderators
Posts: 8,239
Joined: 10-August 06
Member No.: 7



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.

User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 22nd October 2019 - 06:59 AM