How Do I Make A textbox Not Take in < or >? I Have A project that uses html to display text but using html tags can mess up my site so I need help making my html textbox not take in < or >.
            Asked
            
        
        
            Active
            
        
            Viewed 28 times
        
    0
            
            
        - 
                    https://stackoverflow.com/q/3764821/62576 – Ken White Feb 22 '21 at 22:39
- 
                    There is no way to leave out just 1 symbol – T-Rex Feb 22 '21 at 22:50
- 
                    Yes, there is, and you're wanting to leave out two *symbols*. Read those answers again. There are many of them. – Ken White Feb 22 '21 at 22:51
- 
                    I see at least 15 different answers to the question I linked that could easily be modified to do what you're asking. Apparently, you didn't read enough of them. – Ken White Feb 22 '21 at 23:05
- 
                    I tried alot of them and I don't have jquery so most of them don't work i tried messageInput.value.replace(">", "") but it did not work – T-Rex Feb 22 '21 at 23:59
- 
                    There are many answers that are plain Javascript that don't need jquery. Do you know any Javascript at all? – Ken White Feb 23 '21 at 00:00
- 
                    I do know javascript and when i do any of them it takes the < and the > away but if i do or other tags the tags still show up so I am looking to make it so you can not type the < or the > in the textbox – T-Rex Feb 23 '21 at 00:42
