Using Javascript and HTML we can create an input element that can convert a value from feet into miles . So for that we use formula miles=feet*0.00018939.