Cool tag I just discovered...

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Cool tag I just discovered...

Post by alex.barylski »

optgroup

Didn't know it even existed :oops:

For a long time I've wondered how some sites supported that feature...

I always thought it was a drop down implemented as an HTC or something, but wondered how firefox supported it too...

Then it hit me...view source and see how their doing it...so I did and I discovered this new tag :)

I haven't seen anything so cool since marquee :P

Are there any other super, but relatively uncommon HTML tags which I don't know wabout but might be interested in?

Some examples might be: label, legend...I always thought those two were neat as well :)

I suppose I could just look up the w3c web site, but i'm more curious about which ones you use and why? if any :)
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

I always thought fieldset was cool.

Code: Select all

<fieldset>
<legend>Please Enter Your Name</legend>
Here!!!!! 
</fieldset>
But yet, I never us it :lol:
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Use XML, write a DTD and have any wonderful tags you like :)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

d11wtq wrote:Use XML, write a DTD and have any wonderful tags you like :)
I'm not sure what you mean?

It doesn't help that I have no idea about w3c standards, etc...I have seen and read about DTD before, but couldn't tell you what it does, except that it has somehting to do with standards compliance??? would be a guess anyways :P

Not sure where you are going with that, but please elaborate i'm interested - slightly anyways.

What I meant by any tag, was really more of a rendering/visibility thing.

For instance label doesn't render anything, but it makes checking radios or boxes alot more user friendly :)

And Marquee...saves a hell of a lot of javascript too :)

Thats what I meant, not so much as the XML tag namespace...

Can you actually hook the rendering of tags inside a browser using those XSLT/DTD CSS transformations, etc???

I've always been curious about those, but never had a reason to read up on them...

Cheers :)
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

hawleyjr wrote:I always thought fieldset was cool.

Code: Select all

<fieldset>
<legend>Please Enter Your Name</legend>
Here!!!!! 
</fieldset>
But yet, I never us it :lol:
I have, but they don't seem as nice in web applications as GROUP controls do in Windows apps :( man I envy wicked UI designers...I mean my front end skills ain't bad and certainly better than many other developers I know...but compared to a solid UI designer...I bow down!!!

Like this guy: http://www.lukew.com/ not the best i've seen, but damn nice display...

I enjoy design occasionally, but it's not where my heart is...and yet I dislike developing software with crappy interfaces...

Anyways, way off topic :P
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

at least you, the original poster, sent it off topic :P
alex.barylski
DevNet Evangelist
Posts: 6267
Joined: Tue Dec 21, 2004 5:00 pm
Location: Winnipeg

Post by alex.barylski »

feyd wrote:at least you, the original poster, sent it off topic :P
This is true :)
Post Reply