# Simple, primitive HTML question

**URL:** <https://boards.straightdope.com/t/simple-primitive-html-question/348162>\
**Category:** Factual Questions\
**Created:** [March 13, 2006, 2:27pm UTC](https://boards.straightdope.com/t/simple-primitive-html-question/348162 "2006-03-13T14:27:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![handsomeharry](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@handsomeharry](https://boards.straightdope.com/u/handsomeharry)\
**Post date:** [March 13, 2006, 2:27pm UTC](https://boards.straightdope.com/t/simple-primitive-html-question/348162/1 "2006-03-13T14:27:05Z")

</div>

i used to know html coding, but I’m trying to refresh. I remember just aobut everything else, but I can’t remember how to publish a notepad sourcecode page as a real page that would have the hyperlink on it. I also think that i need to create the page to be linked to. I don’t want to go online with these, just on my computer.  
these are the only things that I can’t remember.  
can anybody help?  
thanks,  
hh

---

<div class="post-metadata">

**Author:** ![Agent\_Foxtrot](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Agent\_Foxtrot](https://boards.straightdope.com/u/Agent_Foxtrot)\
**Post date:** [March 13, 2006, 2:43pm UTC](https://boards.straightdope.com/t/simple-primitive-html-question/348162/2 "2006-03-13T14:43:47Z")

</div>

> [@handsomeharry](#):
>
> i used to know html coding, but I’m trying to refresh. I remember just aobut everything else, but I can’t remember how to publish a notepad sourcecode page as a real page that would have the hyperlink on it. I also think that i need to create the page to be linked to. I don’t want to go online with these, just on my computer.  
> these are the only things that I can’t remember.  
> can anybody help?  
> thanks,  
> hh

So you’re saying that you want to create an offline HTML document that contains a link? What you want would probably look something like this:

```auto

<html>
<head><title>Title goes here</title>
</head>
<body>
<a href="www.yoururl.com">Link text here</a>
</body>
<html>

```

That’s about as simple as they come. Save your document as whatever.html, and your browser will automatically load when you load that file.

Hope it helps.

Adam

---

<div class="post-metadata">

**Author:** ![Agent\_Foxtrot](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Agent\_Foxtrot](https://boards.straightdope.com/u/Agent_Foxtrot)\
**Post date:** [March 13, 2006, 2:45pm UTC](https://boards.straightdope.com/t/simple-primitive-html-question/348162/3 "2006-03-13T14:45:35Z")

</div>

> [@Agent Foxtrot](#):
>
> So you’re saying that you want to create an offline HTML document that contains a link? What you want would probably look something like this:
> 
> ```auto
> 
> <html>
> <head><title>Title goes here</title>
> </head>
> <body>
> <a href="www.yoururl.com">Link text here</a>
> </body>
> <html>
> 
> ```
> 
> That’s about as simple as they come. Save your document as whatever.html, and your browser will automatically load when you load that file.
> 
> Hope it helps.
> 
> Adam

Oops, that last \<html\> should be \</html\>, but you get the idea.

---

<div class="post-metadata">

**Author:** ![chrisk](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@chrisk](https://boards.straightdope.com/u/chrisk)\
**Post date:** [March 13, 2006, 3:13pm UTC](https://boards.straightdope.com/t/simple-primitive-html-question/348162/4 "2006-03-13T15:13:01Z")

</div>

if you’ve got HTML files mapped to your plain text editor instead of your browser, then it won’t show the hyperlink when you double-click. But there should be a ‘file open’ option in your browser that will let you see it.

Also, you can map multiple applications to a single file type in recent OS-es… well, in windows anyway. 🙂

---

<div class="post-metadata">

**Author:** ![handsomeharry](https://avatars.discourse-cdn.com/v4/letter/h/e9c0ed/32.png) [@handsomeharry](https://boards.straightdope.com/u/handsomeharry)\
**Post date:** [March 13, 2006, 3:15pm UTC](https://boards.straightdope.com/t/simple-primitive-html-question/348162/5 "2006-03-13T15:15:30Z")

</div>

> [@Agent Foxtrot](#):
>
> Oops, that last \<html\> should be \</html\>, but you get the idea.

THAT DID IT! I am now cured!  
thank ye, thank ye, thank ye!  
hh

---

<div class="post-metadata">

**Author:** ![Agent\_Foxtrot](https://avatars.discourse-cdn.com/v4/letter/a/9fc29f/32.png) [@Agent\_Foxtrot](https://boards.straightdope.com/u/Agent_Foxtrot)\
**Post date:** [March 13, 2006, 3:41pm UTC](https://boards.straightdope.com/t/simple-primitive-html-question/348162/6 "2006-03-13T15:41:17Z")

</div>

> [@handsomeharry](#):
>
> THAT DID IT! I am now cured!  
> thank ye, thank ye, thank ye!  
> hh

Glad to be of service. 🙂
