HTML semantic element representing a user interface widget

Is there an element in HTML that represents a user interface widget?

I wonder if any of the semantic elements of HTML is intended for widgets such as draggable clocks, weather forecasts or contacts in the address book?

I'm not sure what <aside>makes sense for an interactive user interface element and whether <dialog>for anything other than a modal dialog, or if I should stick with <section>or even <div>.

+4
source share
1 answer

, : <article> , , .

W3C :

, , , , , . . (...) .

"" :

  • , , .
+7

Source: https://habr.com/ru/post/1608063/


All Articles