# HTML Question from an HTML Ignoramus

**URL:** <https://boards.straightdope.com/t/html-question-from-an-html-ignoramus/123325>\
**Category:** Factual Questions\
**Created:** [August 10, 2002, 9:48pm UTC](https://boards.straightdope.com/t/html-question-from-an-html-ignoramus/123325 "2002-08-10T21:48:04Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![\_LX](https://avatars.discourse-cdn.com/v4/letter/_/67e7ee/32.png) [@\_LX](https://boards.straightdope.com/u/_LX)\
**Post date:** [August 12, 2002, 11:52am UTC](https://boards.straightdope.com/t/html-question-from-an-html-ignoramus/123325/21 "2002-08-12T11:52:25Z")

</div>

> [@](#):
>
> \*Originally posted by Lance Turbo \*  
> \*\*I’m also pretty sure that you can’t use a script to add something to the clipboard but I’d sure be interested if there was. \*\*

There is a way to do it in Internet Explorer:

window.clipboardData.setData(“Text”, “this here is copied to the clipboard”);

However it’s not standard and won’t work in other browsers.

---

<div class="post-metadata">

**Author:** ![Snetho](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@Snetho](https://boards.straightdope.com/u/Snetho)\
**Post date:** [August 12, 2002, 12:52pm UTC](https://boards.straightdope.com/t/html-question-from-an-html-ignoramus/123325/22 "2002-08-12T12:52:38Z")

</div>

So what did you do AHunter3?

---

<div class="post-metadata">

**Author:** ![AHunter3](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ahunter3/32/368_2.png) [@AHunter3](https://boards.straightdope.com/u/AHunter3)\
**Post date:** [August 12, 2002, 2:28pm UTC](https://boards.straightdope.com/t/html-question-from-an-html-ignoramus/123325/23 "2002-08-12T14:28:15Z")

</div>

**Snetho**

> [@](#):
>
> So what did you do AHunter3?

[See for yourself!](http://books.dreambook.com/ahunter3/rebook.sign.html?replyto=Snetho%20(re:%20HTML%20Question))

(Feel welcome to view source. I didn’t come up with it on my own)

---

<div class="post-metadata">

**Author:** ![Snetho](https://avatars.discourse-cdn.com/v4/letter/s/a4c791/32.png) [@Snetho](https://boards.straightdope.com/u/Snetho)\
**Post date:** [August 12, 2002, 5:12pm UTC](https://boards.straightdope.com/t/html-question-from-an-html-ignoramus/123325/24 "2002-08-12T17:12:51Z")

</div>

Ok good, but I would get rid of the fist following two lines:  
\<form method=“POST” action=“[http://sign.dreambook.com/?user=ahunter3&book=rebook](http://sign.dreambook.com/?user=ahunter3&book=rebook)”\>  
\<form id=“formOne”\>

You have two \<form tags and should only have one. I think that is why the page gets an error when loading…

---

<div class="post-metadata">

**Author:** ![AHunter3](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ahunter3/32/368_2.png) [@AHunter3](https://boards.straightdope.com/u/AHunter3)\
**Post date:** [August 12, 2002, 7:06pm UTC](https://boards.straightdope.com/t/html-question-from-an-html-ignoramus/123325/25 "2002-08-12T19:06:31Z")

</div>

You get an error on loading?

OK, explain again what it is that you think I should get rid of. Unsure of function of “fist following two lines” in above sentence.

---

<div class="post-metadata">

**Author:** ![AHunter3](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/ahunter3/32/368_2.png) [@AHunter3](https://boards.straightdope.com/u/AHunter3)\
**Post date:** [August 13, 2002, 5:33pm UTC](https://boards.straightdope.com/t/html-question-from-an-html-ignoramus/123325/26 "2002-08-13T17:33:02Z")

</div>

Ahh, now I see what you mean.

I didn’t put in the first \<form tag, that got automatically inserted by DreamBook and I have no control over it.

So I put a close \</form\> tag after the portion that they put in there and with the tags balancing it seems to work in IE for Windows and in Opera (tested on Mac). It was working previously in iCab and still does. (Odd that it would work in iCab and not in other things. iCab is usually more persnickety than other browsers about not handling nonstandard code!)

Thanks for the tipoff, and let me know if it works for you now!

[Previous page](https://boards.straightdope.com/t/html-question-from-an-html-ignoramus/123325.md?page=1)
