Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Semantic HTML element representing an UI widget

Is there an element in HTML that represents an UI widget?

I wonder if any of the semantic HTML elements is designed for widgets like draggable clocks, weather forecasts or address book contacts?

I’m not sure if <aside> makes sense for an interactive UI element and whether <dialog> is intended for anything other than a modal dialog or if I should stick to <section> or even <div>.

like image 504
dakab Avatar asked Sep 18 '15 17:09

dakab


People also ask

How to use Semantic-UI form HTML select content?

The Semantic-UI Form HTML Select Content is used to display the list of elements in the select style option. It is used when JavaScript or ui dropdown option is not visible. <select>: This element is used to create an HTML select content. Example 1: In this example, we will describe the use of Semantic-UI Form HTML Select Content.

What is Semantic HTML?

As a term, semantic or semantics relates to meaning in language. If something is more semantic, it is by definition more meaningful. Semantic HTML is simply markup that is more effective at communicating some intended meaning. Consider as an example the difference between a <div> element and a <header> element.

What is Semantic UI framework?

Semantic UI is an open-source framework that uses CSS and jQuery to build great user interfaces. It is same as a bootstrap for use and has great different elements to use to make your website look more amazing. It uses a class to add CSS to the elements.

What is Semantic UI popup?

Semantic UI is a front-end framework built with less and jQuery. It is used for building responsive and attractive web interfaces. In this article, we will be seeing the Semantic UI Popup HTML Type .


Video Answer


1 Answers

Yes, there is: By definition, the <article> element is designed for, among other things, representing an interface widget.

The W3C specifies:

The article element represents a complete, or self-contained, composition in a document, page, application, or site and that is, in principle, independently distributable or reusable, e.g. in syndication. This could be ( … ) an interactive widget or gadget, or any other independent item of content.

That fits well with the Wikipedia definition of “widget”:

  • a generic type of software application comprising portable code intended for one or more different software platforms
  • a reusable element of a graphical user interface
like image 177
dakab Avatar answered Oct 15 '22 05:10

dakab