0

I want to make subpages with HTML in apps script How do I link the user to a subpage

I tried an href on the homepage

<html>
<link rel="stylesheet" href="/css.html">
  </body>
  <a href="/subpage.html">Click me!</a>

I expect the subpage.html link to take me to a subpage

Dylan
  • 21
  • 1
  • 2
    Possible duplicate of [Linking to another HTML page in Google Apps Script](https://stackoverflow.com/questions/15668119/linking-to-another-html-page-in-google-apps-script) – TheMaster Jul 25 '19 at 18:04
  • Take a look at this: https://stackoverflow.com/a/55770563/7215091 – Cooper Jul 25 '19 at 19:16

1 Answers1

-1

I was searching as well on how to work with subpages but unfortunately it seems like Google's HTML services have this option available.

You can create several HTML files and use div for each of the child pages to show/hide the div corresponding to the subpage you want to show.

codewario
  • 19,553
  • 20
  • 90
  • 159
  • This answer could be improved by adding a code sample to give OP and future visitors a clear idea of how to resolve the problem presented in the question. – codewario Jun 02 '22 at 16:55