tic
tic

Reputation: 4189

html file that doesn't work properly using html service

I've repeated exactly all the steps described in Google Html Service tutorial, with the only one difference that this is my html file:

<html>
  <a href="http://www.google.com">google</a>
</html>

but when I open the url of my deployed script the page displays only the string "google" and does not recognize the link. Why?

Upvotes: 0

Views: 257

Answers (2)

Corey G
Corey G

Reputation: 7858

That should work. If you post the entirety of your script here I can try it myself and see what happens.

Upvotes: 0

1&#39; OR 1 --
1&#39; OR 1 --

Reputation: 1714

<html>
<head>
    <title>Title</title>
</head>
<body>
    <a href="http://www.google.com">google</a>
</body>
</html>

You are missing head and body parts, try to add them, although it is said that they are just optional and see if it works..

Upvotes: 2

Related Questions