Programming and Scripting :: CGI scripting with Bash



Quote (mikshaw @ Jan. 04 2007,16:40)
The </li> closing tag is optional, acording to the html documents I've read.  I have no idea how the closing tag might affect css, though, as you mentioned...I've never styled lists specifically. The </br> tags were already in there before i thought it would look better as a list, and I simply forgot to remove them. They're now removed from my local copy, thanks. I'll probably put </li> tags in just to be thorough.

I'll eventually save one of the generated pages and check the syntax against strict html, but for now I'm thinking more about its functionality than anything else...I want to try some other ways to make it less site-specific, and basically just fool around with it until i get bored and look for a new project.

Quote
The </li> closing tag is optional, acording to the html documents I've read.  I have no idea how the closing tag might affect css, though, as you mentioned...I've never styled lists specifically.


Just a tip FYI... All closing tags such as </li> are required in the current standard XHTML strict. Also, the usage of CSS is encouraged in XHTML strict... Many old inline elements such as...

<img src="someimage.jpg" align="left">

Have become depricated in XHTML strict, and are being replaced with styles...

<img src="someimage.jpg" style="float: left" />

Also you might wish to note the / at the end of the img tag. Standalone tags in XHTML strict are now self-closing tags.

Also a comment... Server-side shell scripting should really be no more insecure than using PHP or even Perl. All of which have IO features... Security is really a matter of user account settings and firewall configurations... Anyway, have fun with it!

Quote
All closing tags such as </li> are required in the current standard XHTML strict.
Thank you for that tip.

Quote
Standalone tags in XHTML strict are now self-closing tags.
I am very inconsistent with this, although I know it should be done. I sometimes simply type <br> out of habit, but sometimes out of forgetfulness.

Quote
Server-side shell scripting should really be no more insecure than using PHP or even Perl.
I was hoping that was the case. I'm already far behind my original goals in Lua and C/C++, so dreaded the thought of learning yet another language. Perl has seemed to me to be quite a bulky tool as well, contrary to my quest for simplicity.


original here.