The value property of the inputbox, shown in the above example, is both readable and writable. Share. Get the book free! In HTML, tags may have attributes. Purpose of the HTML name attribute is to specify a name for an element. In HTML there are various attributes available for