In the above code, the name attribute is missing (bold line)

<!DOCTYPE html>
<html>
<body>
<h2> The name Attribute </h2>
<form method="get">
First name:<br>
<input
type="text"
value="Shivansh"><br>
Last name:<br> <input type="text" name=
"lastname" value="kumar"> <br>
<input type="submit" value="Submit">
</form>
</body>
<html>

In the above code, the name attribute is missing (bold line). What will be the effect of not using the name attribute?
उपरोक्त कोड, में नेम एट्रीब्यूट गायब है (बोल्ड लाइन)। नेम एट्रीब्यूट का उपयोग न करने का क्या प्रभाव होगा?

More Web Designing and Publishing Questions

Browse all Web Designing and Publishing questions ->
Scroll to Top