Open In App

Semantic-UI List Header Content

Last Updated : 27 Feb, 2022
Comments
Improve
Suggest changes
Like Article
Like
Report

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

Semantic-UI list provides  us different variations of the list, like Horizontal, Inverted, Selection, Animated, Relaxed, Divided, Celled, and Size variants. Here we will learn about Semantic-UI List Header Content is used to add the header section content to the list items.

Semantic-UI List Header Content Class:

  • header: This class is used to add header content to the list item.

Syntax:

<div class="ui list">
    <div class="item">
        <div class="header"> Header Content... </div>
    </div>
    ...
</div>

Example 1: In this example, we are creating list items with the header content.

Output:

Semantic-UI List Header Content
Semantic-UI List Header Content

Example 2: In this example, we are creating list items with the header content.

Output:

Semantic-UI List Header Content
Semantic-UI List Header Content

Reference: https://semantic-ui.com/elements/list.html#header


Next Article

Similar Reads