HTML Form and Table

  1. What does Required attribute do in HTML form?
  2. What are 3 elements required to create a table in HTML?

ans 1. it specify the input filled must be filled
ans 2. tr, th and td tags

1 Like

1.Boolean attribute
1.,,

user should fill the input fields which used required attribute before submitting the form

1 Like

Required: If we use the required then we can not submit form without fill the required field.
table, tr, td/th tags.

1 Like
  1. before submitting the form it is necessary to give value to the input field having required attribute.
    2.th, td, tr
  1. , ,

1 st ) it specifies the input must be filled
2 nd) th,tr and td tags

1 Like
  1. What does Required attribute do in HTML form?
    it is a boolean attribute that makes that input field mandatory, the user cannot able submit the form if that field is blank, and it gets an alert or error.
  2. What are 3 elements required to create a table in HTML?
    tr tag, td tag, th tag
1 Like

it is a boolean attribute that makes that input field mandatory, the user cannot able submit the form if that field is blank, and it gets an alert or error.

  1. the input must be filled
  2. table,thead,tbody,tfoot,tr,td,th

1.Its specifies the input field must be filled before submitting.
2.th,tr,td tags