# HTML Coders--HELP!

**URL:** <https://boards.straightdope.com/t/html-coders-help/3403>\
**Category:** Factual Questions\
**Created:** [September 21, 1999, 4:59am UTC](https://boards.straightdope.com/t/html-coders-help/3403 "1999-09-21T04:59:00Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gr8Kat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/gr8kat/32/18668_2.png) [@Gr8Kat](https://boards.straightdope.com/u/Gr8Kat)\
**Post date:** [September 21, 1999, 4:59am UTC](https://boards.straightdope.com/t/html-coders-help/3403/1 "1999-09-21T04:59:00Z")

</div>

I don’t know a lick of HTML code. I hope to go to school and learn one of these days, but in the meantime I’m using Netscape Composer. However, sometimes when I try to insert an HTML tag, I get the error message “Premature Closure of Tag.” What does this mean and how do I fix it?? Can anyone help or should I just look for “HTML for Dummies”?

Thanks 🙂

* * *

“I hope life isn’t a big joke, because I don’t get it,” Jack Handy

---

<div class="post-metadata">

**Author:** ![falcon2](https://avatars.discourse-cdn.com/v4/letter/f/dbc845/32.png) [@falcon2](https://boards.straightdope.com/u/falcon2)\
**Post date:** [September 21, 1999, 5:15am UTC](https://boards.straightdope.com/t/html-coders-help/3403/2 "1999-09-21T05:15:00Z")

</div>

I’m not familiar with the nutscrape tools, but I’m going to take a wild crack and say you’ve forgot to close quotes before you close the angle iron. (hope this turns out)  
wrong: \<A HREF="[www.nowhere.com](http://www.nowhere.com) \>  
right: \< A HREF=“[www.nowhere.com](http://www.nowhere.com)” \>  
OR you have improperly nested tags  
wrong: \<FONT COLOR=RED\>\<B\>text\</FONT\>\</B\>  
right: \<FONT COLOR=RED\>\<B\>text\</B\>\</FONT\>

---

<div class="post-metadata">

**Author:** ![Gaudere](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@Gaudere](https://boards.straightdope.com/u/Gaudere)\
**Post date:** [September 21, 1999, 5:17am UTC](https://boards.straightdope.com/t/html-coders-help/3403/3 "1999-09-21T05:17:00Z")

</div>

Sounds like you’re closing your tag (your closing tag looks like your beginning tag, only with a / in front of it, like \<b\> \</b\>((I’m assuming you don’t know _anything_ about HTML so don’t be offended)) before you put anything in it. So all you have to do is put something inside the tag to make it happy, like this \<b\>hi!\< /b\> It sounds like a warning more than a problem with your code. I haven’t used Netscape Composer, though. You young’uns…I used to write my code in Notepad! And I had to walk uphill both ways to school, too! 😉

Hoping the codes work on this message…

* * *

“Eppur, si muove!” - Galileo Galilei

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/straightdope/original/2X/e/e489c3b7d8fce19c4b355dd4fc3f88cc39c34b87.png) [@system](https://boards.straightdope.com/u/system)\
**Post date:** [September 21, 1999, 5:35am UTC](https://boards.straightdope.com/t/html-coders-help/3403/4 "1999-09-21T05:35:00Z")

</div>

Could be any of the above or maybe something else. Why don’t you post here some of what you’ve coded.

---

<div class="post-metadata">

**Author:** ![GuanoLad](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/guanolad/32/42_2.png) [@GuanoLad](https://boards.straightdope.com/u/GuanoLad)\
**Post date:** [September 21, 1999, 8:28am UTC](https://boards.straightdope.com/t/html-coders-help/3403/5 "1999-09-21T08:28:00Z")

</div>

It might be (what the hey, lets confuse him even more) that you have a close tag for something that hasn’t got an opener.

I hate all these wysiwyg tools that say “even you, a total loser that talks to his mouse, can make a professional looking webpage!” which is a total LIE!

Okay, so I’m a web designer who handcodes, okay? 😉

---

<div class="post-metadata">

**Author:** ![Nickrz](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Nickrz](https://boards.straightdope.com/u/Nickrz)\
**Post date:** [September 21, 1999, 8:56am UTC](https://boards.straightdope.com/t/html-coders-help/3403/6 "1999-09-21T08:56:00Z")

</div>

(Gasp) You had notepad? I used to write my code with edlin!

---

<div class="post-metadata">

**Author:** ![lovelee](https://avatars.discourse-cdn.com/v4/letter/l/439d5e/32.png) [@lovelee](https://boards.straightdope.com/u/lovelee)\
**Post date:** [September 21, 1999, 12:45pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/7 "1999-09-21T12:45:00Z")

</div>

(Gasp) I had to learn vi before I even _got_ to do HTML code! You lucky bastard.

lovelee

---

<div class="post-metadata">

**Author:** ![Danny](https://avatars.discourse-cdn.com/v4/letter/d/848f3c/32.png) [@Danny](https://boards.straightdope.com/u/Danny)\
**Post date:** [September 21, 1999, 1:05pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/8 "1999-09-21T13:05:00Z")

</div>

(Gasp) You mean you guys never had to learn to use an IBM punch card machine? Or even a paper tape reader? What are they teaching these days, my god!

---

<div class="post-metadata">

**Author:** ![AuraSeer](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@AuraSeer](https://boards.straightdope.com/u/AuraSeer)\
**Post date:** [September 21, 1999, 1:08pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/9 "1999-09-21T13:08:00Z")

</div>

They let you use vi? Ha, slacker! All I got was a bank of toggle switches and a wall full of lights. 😉

---

<div class="post-metadata">

**Author:** ![tomndebb](https://avatars.discourse-cdn.com/v4/letter/t/b9e5f3/32.png) [@tomndebb](https://boards.straightdope.com/u/tomndebb)\
**Post date:** [September 21, 1999, 2:00pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/10 "1999-09-21T14:00:00Z")

</div>

Toggle switches and a wall full of lights would be easier to use than vi. feh

* * *

Tom~

---

<div class="post-metadata">

**Author:** ![Gr8Kat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/gr8kat/32/18668_2.png) [@Gr8Kat](https://boards.straightdope.com/u/Gr8Kat)\
**Post date:** [September 21, 1999, 3:20pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/11 "1999-09-21T15:20:00Z")

</div>

I haven’t coded a single thing, that’s the problem. I really don’t know any HTML, I just “borrow” it from other sources (that say, cut and paste the HTML below; I ain’t a plagariser!). Sometimes it works great, and sometimes I get this “error” message.

Anyhoo, the bit of code that’s giving me fits this time is at [http://www.ida.net/users/elaine/pedigre2.htm](http://www.ida.net/users/elaine/pedigre2.htm)

To me, it all looks totally incomprehensible. Is this the wrong forum to ask for a crash course in coding, or should I just buy the aforementioned “Dummies” book?

* * *

“I hope life isn’t a big joke, because I don’t get it,” Jack Handy

---

<div class="post-metadata">

**Author:** ![Gaudere](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@Gaudere](https://boards.straightdope.com/u/Gaudere)\
**Post date:** [September 21, 1999, 3:30pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/12 "1999-09-21T15:30:00Z")

</div>

Can you link us to the page you have put your code in? I C&P’ed the code from the pages you linked to and it worked fine for me. You may have accidentally deleted a bit of it.

* * *

“Eppur, si muove!” - Galileo Galilei

---

<div class="post-metadata">

**Author:** ![AWB](https://avatars.discourse-cdn.com/v4/letter/a/bb73d2/32.png) [@AWB](https://boards.straightdope.com/u/AWB)\
**Post date:** [September 21, 1999, 3:38pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/13 "1999-09-21T15:38:00Z")

</div>

_ **Gr8Kat: I don’t know a lick of HTML code. I hope to go to school and learn one of these days, but in the meantime I’m using Netscape Composer.** _

Try this site to learn HTML, Perl, and all sorts of other things about Web programming:  
[The Web Developers’ Virtual Library](http://www.wdvl.com/)

---

<div class="post-metadata">

**Author:** ![Gr8Kat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/gr8kat/32/18668_2.png) [@Gr8Kat](https://boards.straightdope.com/u/Gr8Kat)\
**Post date:** [September 21, 1999, 3:50pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/14 "1999-09-21T15:50:00Z")

</div>

> [@](#):
>
> Can you link us to the page you have put your code in? I C&P’ed the code from the pages you linked to and it worked fine for me. You may have accidentally deleted a bit of it.

Netscape Composer won’t let me add the tag to my page until whatever it is that it perceives as a problem is fixed. I’ve tried recopying and repasting the code, but I keep getting the “premature close of tag” error. And Netscape is bound and determined to not let any “errors” be pasted in, even if maybe I _want_ them there.

GuanoLad said:

> [@](#):
>
> I hate all these wysiwyg tools that say “even you, a total loser that talks to his mouse, can make a professional looking webpage!” which is a total LIE!

Yeah yeah yeah, bite me 🙂

* * *

“I hope life isn’t a big joke, because I don’t get it,” Jack Handy

---

<div class="post-metadata">

**Author:** ![Gaudere](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@Gaudere](https://boards.straightdope.com/u/Gaudere)\
**Post date:** [September 21, 1999, 3:58pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/15 "1999-09-21T15:58:00Z")

</div>

You can email me the code if you like; just C&P it into an email. [sburch@pcquote.com](mailto:sburch@pcquote.com). But first try pasting it into Notepad (in your “accesories”) and save it as foo.html or whatever, and open it in your browser. It may be a problem with Composer and not your code. I suspect, though, that the problem is that your are pasting a page within a page, and that is what is the problem. If you have two \</HTML&rt; and \</body&rt; tags in your page, delete the first one.

If you want to learn what you’re doing, I recommend picking up a quick start HTML book. I hate online tutorials.

* * *

“Eppur, si muove!” - Galileo Galilei

---

<div class="post-metadata">

**Author:** ![Gr8Kat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/gr8kat/32/18668_2.png) [@Gr8Kat](https://boards.straightdope.com/u/Gr8Kat)\
**Post date:** [September 21, 1999, 4:42pm UTC](https://boards.straightdope.com/t/html-coders-help/3403/16 "1999-09-21T16:42:00Z")

</div>

> [@](#):
>
> You can email me the code if you like; just C&P it into an email. [sburch@pcquote.com](mailto:sburch@pcquote.com). But first try pasting it into Notepad (in your “accesories”) and save it as foo.html or whatever, and open it in your browser.

Hey, yeah, that worked.

> [@](#):
>
> It may be a problem with Composer and not your code. I suspect, though, that the problem is that your are pasting a page within a page, and that is what is the problem. If you have two \</HTML&rt; and \</body&rt; tags in your page, delete the first one.

Yeah, that could be, I’m just going to have to use notepad. But now I have another question; sometimes the code I’m trying to insert isn’t for a whole new page. Like the code on this page:  
[http://www.wunderground.com:88/geo/InfoboxBannerPromo/US/OR/Dallas.html](http://www.wunderground.com:88/geo/InfoboxBannerPromo/US/OR/Dallas.html)

This is something I want in an existing page, and I still get the “premature close of tag” error. Am I just going to have to resign myself to a weatherless home page?

* * *

“I hope life isn’t a big joke, because I don’t get it,” Jack Handy

---

<div class="post-metadata">

**Author:** ![Gr8Kat](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/gr8kat/32/18668_2.png) [@Gr8Kat](https://boards.straightdope.com/u/Gr8Kat)\
**Post date:** [September 22, 1999, 5:52am UTC](https://boards.straightdope.com/t/html-coders-help/3403/17 "1999-09-22T05:52:00Z")

</div>

Thanks everyone for your help! By fiddling around and inserting the code in Notepad, then sending it back to Netscape Composer, I was able to do some of the stuff I couldn’t do before 🙂 Thanks again for the advice!

I may learn how to do this for real yet 🙂

* * *

“I hope life isn’t a big joke, because I don’t get it,” Jack Handy

---

<div class="post-metadata">

**Author:** ![Louie](https://avatars.discourse-cdn.com/v4/letter/l/c68b51/32.png) [@Louie](https://boards.straightdope.com/u/Louie)\
**Post date:** [September 22, 1999, 7:55am UTC](https://boards.straightdope.com/t/html-coders-help/3403/18 "1999-09-22T07:55:00Z")

</div>

If you need more help, check out the [the HTML tutoral](http://www.straightdope.com/ubb/Forum2/HTML/000194.html).

---

<div class="post-metadata">

**Author:** ![GuanoLad](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/guanolad/32/42_2.png) [@GuanoLad](https://boards.straightdope.com/u/GuanoLad)\
**Post date:** [September 22, 1999, 8:14am UTC](https://boards.straightdope.com/t/html-coders-help/3403/19 "1999-09-22T08:14:00Z")

</div>

See? I wasn’t picking on you, Gr8Kat, I was picking on things like Frontpage and Composer, that present you with the illusion that you are creating a webpage, when really it’s making a mess of things that needs constant cleanup.

---

<div class="post-metadata">

**Author:** ![Nickrz](https://avatars.discourse-cdn.com/v4/letter/n/bbce88/32.png) [@Nickrz](https://boards.straightdope.com/u/Nickrz)\
**Post date:** [September 22, 1999, 9:16am UTC](https://boards.straightdope.com/t/html-coders-help/3403/20 "1999-09-22T09:16:00Z")

</div>

Claris Homepage does a pretty good job without any dicking around with html.

[Next page](https://boards.straightdope.com/t/html-coders-help/3403.md?page=2)
