how to disable apex:inputtext code example
Example: how to disable apex:inputtext
<apex:inputField id="acctparent" styleClass="acctparent" value="{!account.ParentId}" html-disabled="true" />
<apex:inputField id="acctparent" styleClass="acctparent" value="{!account.ParentId}" html-disabled="true" />