nerdexam
CIW

1D0-720 · Question #108

Which HTML5 attribute specifies where to send form data on submission?

The correct answer is B. action. The action attribute specifies the URL where form data is sent when the form is submitted (e.g., <form action="/submit">), making B correct. The method attribute (A) controls how data is sent (GET or POST), not where. The type attribute (C) describes the input or button type…

Advanced HTML5 Features

Question

Which HTML5 attribute specifies where to send form data on submission?

Options

  • Amethod
  • Baction
  • Ctype
  • Denctype

How the community answered

(22 responses)
  • A
    9% (2)
  • B
    86% (19)
  • C
    5% (1)

Explanation

The action attribute specifies the URL where form data is sent when the form is submitted (e.g., <form action="/submit">), making B correct. The method attribute (A) controls how data is sent (GET or POST), not where. The type attribute (C) describes the input or button type, not a destination. The enctype attribute (D) defines how form data is encoded before sending (e.g., multipart/form-data for file uploads), but again says nothing about the destination.

Memory tip: Think action = the destination of the action - just like a movie's action scene moves the plot to a new location, action moves your data to a new URL.

Topics

#HTML5 forms#form attributes#action attribute#form submission

Community Discussion

8
Ingrid P.Ingrid P.May 25, 2026

The answer is B, action. The action attribute on a form element holds the URL the browser sends the form data to when the user submits, which is exactly what "where to send" means, while method controls how it is sent, enctype controls how it is encoded, and type is not a form-level attribute that affects submission destination.

24
Mei-Ling H.Mei-Ling H.May 27, 2026

Ingrid is right that action holds the destination URL, but worth adding that if action is omitted entirely, the browser defaults to the current page URL, which is a common source of confusion for beginners who think nothing is being submitted anywhere.

0
Mei-Ling H.Mei-Ling H.May 28, 2026

enctype controls where data goes, so D is the one.

0
Ingrid P.Ingrid P.May 30, 2026

enctype controls how form data is encoded for transmission, not where it goes. The "where it goes" part is handled by the action attribute, so B is the right pick.

0
Lena V.Lena V.Jun 5, 2026

Has to be D, enctype, because that attribute is specifically tied to how the form packages and sends its data to the server, which is the whole point of the submission process. I drilled this one hard last week and every practice breakdown I saw pointed to enctype as the attribute controlling where and how that data gets dispatched.

-1
Ingrid P.Ingrid P.Jun 6, 2026

Lena, the enctype attribute controls how form data is encoded before sending, but it is the action attribute that determines where the data gets sent, which is the destination URL for the submission, so B is the correct pick here.

0
Dervla O.Dervla O.May 21, 2026

Enctype controls where the data goes, D all the way.

-2
Ingrid P.Ingrid P.May 22, 2026

Enctype actually controls how the form data is encoded for transmission, not where it goes, so B is the right pick. The destination is handled by the action attribute, which is a separate concept worth putting on its own card.

0
Full 1D0-720 Practice