Step 58 Learn HTML Forms by Building a Registration Form

I solved the problem. I’d like to know though

" With a display of block the submit button sits flush against the left edge of its parent."

What is the parent in this problem?

I understand it like that:
the child element is the input with the type=“submit” and the parent element the form element?

  </label>
  <input type="submit"  value="Submit" />
</form>

Just wanted to clarify my understanding of the question and its terminology.

Thanks in advance.

1 Like

The parent is the element in which the child element has been placed. So it should be form here. (So yes, your understanding is correct)

2 Likes