You are here: Re: What's wrong with this code?? « HTML « IT news, forums, messages
Re: What's wrong with this code??

Posted by Jukka K. Korpela on 03/18/07 15:26

Scripsit Alucard Calquemare:

> Well first of all,

First of all, if you are commenting on something, you should quote or
paraphrase a key sentence or too, to give context. Deviating from this is
taken as a cluelessness indicator on Usenet, much the same way as quoting an
entire posting is.

> you've got to learn at least html 4.0 if you want
> to survive,

Hardly, and surely not from you.

Surely the OP might benefit from a somewhat more systematic and modern
approach to HTML authoring, but nobody will get killed or even seriously
hurt for tag soup HTML.

> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

XHTML on web pages is pointless. We've discussed this several times, but you
decided to jump into the group and start preaching without checking the
audience.

Using Transitional when you present something as an improved rewrite of
something is clueless, unless you can explain and do explain some acceptable
reason for using Transitional features for some real purpose.

> <!--//Head-->
> <head>

That's idiotic. Figuratively speaking. I don't want to insult idiots; idiots
don't create web pages and don't write such foolish "comments".

> <meta name="description" content="" />

You just copied some template and threw it at us without thinking much, did
you?

> <title>grandparents1</title>

I made a remark about this, a practically relevant one. You apparently
didn't even read the answers given so far before posting your
"contribution".

> .navcolor {color:#004000; size:+1}

As if the common mistake of setting color without setting background were
not enough, you add some grossly malformed CSS code.

> function MM_reloadPage(init) { //reloads the window if Nav4 resized

Copying code that purported does something for "Nav4" is very foolish. Do
you have any idea of how "much" Netscape 4 is currently used?

> <br />

Using line break to create vertical spacing? Looks like you never really
tried to learn CSS seriously.

> <img src="tomandmary_family.jpg" width="339" height="419"
> align="bottom" border="3"></p>

You don't even write valid markup.

> <p align="center" class="navcolor"><b><a href="index.htm">Back to
> Start</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a
> href="momanddad2.htm">More from Mom and Dad</a></b></p>

That's about 1997 vintage HTML. I don't blame anyone for using it on old
pages of their own, but I do laugh at people who present it as recommended
markup in public.

> GAT d-@ s:- a-? C++ UL++ P+ L+ E++ W++>$ N K w++++>$ O- M- V- PS+ PE
> Y PGP t 5 X+ R+ ()R++ tv- b++ DI++ D+ G++ e h- r+ y++>$

Well, that describes the value of your posting, and it is noteworthy that
you present it as message content proper, not in a Usenet-style signature.

--
Jukka K. Korpela ("Yucca")
http://www.cs.tut.fi/~jkorpela/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация