Reply to Re: WYSIWYG editor for linux?

Your name:

Reply:


Posted by David Dorward on 06/23/06 11:35

Karl S wrote:
> I started out with Notepad in Windows and the "htmlgoodies" primers,

Oh, the amount I had to unlearn after my time thinking that site was
good.

> then went to linux with gVim and Quanta, but then the rules all got
> changed and what little I know is pretty well obsolete. The new rules

HTML 4.01 (which is most commonly recomended) was last updated in 1999,
and that was just minor changes from the 1997 HTML 4.0. The most
imporant bits of HTML 4.01 also existed in HTML 3.2. Things really
haven't changed much in a long while.

Avoid XHTML. The group archive will explain why.

> for even a simple web page are almost too much for a simple text editor
> even with a stack of "cheat-sheets". Heck, I can't figure out what I
> ought to put in the headers.

If you are working with static files, then your webserver should be
able to figure things out from the file extensions you use.

If you mean the <head> section, then all you need is a <title> element.

> And CSS? I can't make heads or tails of that.

It really isn't all that complicated. It basically comes down to
writing selectors (which are descriptions of conditions that an element
has to meet in order to match, such as "be a <p>" or "be a <p> inside a
<div> that has class='foo'") and property/value pairs that describe how
it looks ("color: red; background-color: blue;).

I don't know a good introductory tutorial, but I find the spec quite
readable. http://w3.org/TR/CSS21/

It only becomes tricky when you start hitting browser bugs, but there
is plenty of information out there, and plenty of people willing to
help with problems.

> Then they told me I had to have both an ALT flag and a TITLE flag for
> each image.

That's rubbish, someone has been misleading you.

All images need an alt attribute (in case the image cannot be
displayed), and unless the image actually adds new meaning to a
document (rather then, for instance, reinforcing existing meaning or
being purely presentational), its just going to be alt="".

Title attributes, on the other hand, provide advisotry information
about an element. They come into play when the element itself doesns't
give you enough information (which should be fairly rare).

> Does anyone know of an easy-to-learn HTML editor for linux?

Define "HTML editor". If you want something graphical that will write
markup for you, I suggest you forget it. AI hasn't yet reached a level
when it can write good HTML for you.

Otherwise, I suggest you stick with vim. Its a decent editor.

[Back to original 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

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