Make a website


#1

Now I have an editor, please can I ask the following questions:

  1. If a website has e.g. 4 pages. Does this mean we need 4 HTML files, one for each page? If multiple pages are required, how are they linked together?

  2. How is a CSS editor page created for each HTML file? How is it linked back to the HTML file?

Thank you in advance.

BC


#2

If your website is supposed to have 4 pages, then yes, you need 4 .html files

You link them together with a elements. <a href="page2.html">Page 2</a>

For a site this size, you only need one .css file.

You link your .html files to the .css file using a link element in the <head> ... </head> of each .html file. Do that exactly how it shows you in the CSS part of this course.


#3

Thanks Albion,

I will keep in mind when I develop my project,

Thanks

BC