Textboxes/Textfields

How come with Textboxes you can do the ContentEditable  = true/false

but then with Textfields you can’t? Along with Textfields being able to be doing the .isVisible and Textboxes not being able to do that? 
Is there any solution to having both features in an input field? Thanks