T
T
triggerfinger2018-01-27 13:21:06
HTML
triggerfinger, 2018-01-27 13:21:06

How practical (not semantically) is the fieldset tag useful when using XMLHttpRequest to submit forms?

I read the specification several times, and did not find an answer for how practically I might need it. If I just need to group the inputs, then I can do it with divs, why do I need a fieldset? Are there any other benefits? Or is it just a relic of the time when there were no front-end frameworks and so many javascript requests from the client (and not the standard HTML form method=POST).

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2018-01-27
@triggerfinger

A relic of time
Just like <main>, <section>, <header>, <footer>,
By default, it has a nice outline and a nice feature like legend

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question