Jump to content
xisto Community
kilz

disable html tags

Recommended Posts

Ewwww for fuks sake urgh bluergh.

Sorry. =)

How absolutely ****ed up and lame.

Textarea was made for user interactive text.

There is a HTML Tag designed for THIS. It's called PRE.

<pre></pre>

 

How hard can it be? Why make your page as ugly as hell? Use weird server side scripts, ugly Javascript or ****ed up HTML? W3C designed you a tag that does the trick perfectly.

Use it!

Share this post


Link to post
Share on other sites

I dun agree with you, textarea it can be very nice too, if you know how to implement style sheet to it. I believe you are not a designer, at least not a commercial designer that earn praises from your customers.I am a very experience designer whom had worked with many companies in various industries doing many types of designs and assisted in various applications development in various languages.Prove me wrong and I will apologize.

Share this post


Link to post
Share on other sites

It's pretty obvious what the user had in mind when he/she ask to display HTML tag code without randering it as HTML result.Using textarea enable the code creator to achieve what he/she is looking for with minimal or no problem from the end user. It can be styled with size, colored, background image with no border and scoll bar. It still enable end users to copy the code, paste and save as it is without needing to make any changes.If you want to know how, just ask kindly and you shall be answered.

Share this post


Link to post
Share on other sites

Actually, you being a very experienced designer, should know that styling a textarea with CSS is a pain in the backside. A huge range of browsers don't properly support decent styling of it, for example border, background, ...By the way, Textarea has the annoyance of a user being able to edit the text, which is not the intention. Unless if you disable it with ugly JavaScript or something.Copying the code is just as easy with any other solution and doesn't require you to be able to edit it. Any why would one want to edit the code? There's no use for it .. just confuses users making them think that there is use, and they just didn't see it.By the way, sorry for my lil outburst there =) I honestly meant it less than half as bad as it sounded. I guess I was annoyed. It was nothing personal.r3d, btw, you're kinda right :) I'll update the rules for this place soon though, and state that nobody can do things like that again except for me xD no, really, I ought to set an example. Therefore, appologies :)Oh and, I noticed pre, q, code & ... tags do still parse other tags contained in them. Bummer. I was wrong about that then. *sigh* Only way is the lame way then. You disappoint me W3C.And, appologies for that as well :P I owe them.~lhunath

Share this post


Link to post
Share on other sites

// dead link //

 

I love this guy.

Share this post


Link to post
Share on other sites

A huge range of browsers don't properly support decent styling of it, for example border, background, ...

I agree with you to a certain extend.
There are some styles that all or most browser will support.
There are other trick to do it without using javascript or style sheet too but it may not be easy for amatures.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.