Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 01-02-2010
Member
 
Join Date: Nov 2009
Posts: 680
Filter Tag In Html

Hello, I want to know more details about the Filter tag in HTML, I have read the book of Complete Reference regarding the HTML, but it is not having more information about the same. If anyone is having more details about it, then please provide me same. It will be helpful to me. So, please provide me some details or some script to get the details on it.
Reply With Quote
  #2  
Old 01-02-2010
Member
 
Join Date: Feb 2008
Posts: 1,848
Re: Filter Tag In Html

Filter tag in HTML is used for the purpose below:
  • Remove or Forbid Some HTML Data
  • Encoding HTML Data
  • Validating HTML Data
  • Validating Hypertext Links (URIs/URLs)
Reply With Quote
  #3  
Old 01-02-2010
Member
 
Join Date: May 2008
Posts: 2,383
Re: Filter Tag In Html

The Filters layout follows are no longer recommended. It is not recommended to prefer. Now most of the time use of the corresponding CSS is done. You can make use of the following layout forms:
  • uppercase causes the text to uppercase. Compared to the function of PHP uppercase also applies to accented letters.
  • justify increased the total text justification (<P Align=justify>).
  • aligner_droite increased the text justification right (<P Align=right>).
  • aligner_gauche increased the text left justified (<P Align=left>).
  • focus Center the text (<P Align=center>).
Reply With Quote
  #4  
Old 01-02-2010
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: Filter Tag In Html

Hello, It is quiet simple to setting filter which can simply replace the html content tags in a textarea by an empty string. You can simply make use of the script below to achieve it:

Code:
<script> alert </ script> ==> alert
NEWS <script> alert </ b> </ script> ==> NEWS alert </ b>
Reply With Quote
  #5  
Old 01-02-2010
Member
 
Join Date: Apr 2008
Posts: 1,948
Re: Filter Tag In Html

I have seen one of the Filter in HTML which is having details as below:
Name : Kupu HTML Filter
Kupu Html filter will alow you to blacklist attributes on particular tags or you can simply able to set it on the fixed attribute or a tag. You can simply check all this details by visiting the Site Setup -> Kupu visual editor.
You can remove the tags below by default with this filter:
  1. center
  2. tt
  3. big
  4. small
  5. s
  6. strike
  7. basefont
  8. font
It will also allow to remove the attributes below:
  1. dir
  2. lang
  3. valign
  4. halign
  5. border
  6. frame
  7. rules
  8. cellspacing
  9. cellpadding
  10. bgcolor
Reply With Quote
  #6  
Old 01-02-2010
Member
 
Join Date: Jan 2008
Posts: 1,515
Re: Filter Tag In Html

You can simply make use of the Data flow through HTMLFilter through below method:
  • feedString(originalHTML)
  • collectHTML(html)
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Filter Tag In Html"
Thread Thread Starter Forum Replies Last Post
How to setup IP Filter & MAC filter on Huawei MT841? Eas!war Networking & Security 1 04-03-2012 04:06 PM
What is a PHP Filter? Beter 2 Burn Out Software Development 4 23-02-2010 05:50 AM
IP Filter Adrina_g Software Development 3 07-12-2009 02:44 PM
How to define HTML Validator and services provided by HTML Validator Aldous Software Development 3 22-09-2009 01:12 PM
Picollator filter : Automatic adult content filter monsitj Windows Software 1 29-01-2009 07:07 PM


All times are GMT +5.5. The time now is 10:51 PM.