To place the cursor (auto focus) in text box when a page gets loaded without JavaScript support with HTML, we add the autofocus attribute.
For instance, we write
<input type="text" name="name" id="name" autofocus="autofocus" />
to add the autofocus attribute to the input to make it focused when the page loads