Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

Semantic-UI List Link Content

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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 Link Content is used to add links to the list items.

Semantic UI List Link Content classes:

  • link list: This class is used to give a format to list as navigation links.

Syntax:

<div class="ui link list">
    <a class="item"> ....</a>
    ...
</div>

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

HTML




<!DOCTYPE html>
<html>
  
<head>
    <title>Semantic UI List Link Content </title>
  
    <link rel="stylesheet" href=
</head>
  
<body>
    <div class="ui container">
        <h2 style="color:green">
            GeeksforGeeks
        </h2>
  
        <h3>Semantic-UI List Link Content</h3>
  
        <div class="ui link list">
            <div class="active item">GeeksforGeeks</div>
            <a class="item">Data Structure</a>
            <a class="item">Algorithm</a>
            <a class="item">Interview Preparation</a>
            <a class="item">Competitive Programming</a>
            <a class="item">Machine Learning</a>
            <a class="item">Web Development</a>
        </div>
    </div>
</body>
  
</html>


Output:

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

HTML




<!DOCTYPE html>
<html>
  
<head>
    <title>Semantic-UI List Link Content</title>
  
    <link rel="stylesheet" href=
</head>
  
<body>
    <div class="ui container">
        <h2 style="color:green"> GeeksforGeeks </h2>
  
        <strong>Semantic-UI List Link Content</strong>
        </br></br>
        <div class="ui horizontal link list">
            <div class="active item">GeeksforGeeks</div>
            <a class="item">Data Structure</a>
            <a class="item">Algorithm</a>
            <a class="item">Interview Preparation</a>
            <a class="item">Competitive Programming</a>
            <a class="item">Machine Learning</a>
            <a class="item">Web Development</a>
        </div>
    </div>
</body>
</html>


Output:            

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


My Personal Notes arrow_drop_up
Last Updated : 23 Feb, 2022
Like Article
Save Article
Similar Reads
Related Tutorials