Open In App

Introduction to Semantic UI

Last Updated : 21 Jan, 2022
Improve
Improve
Like Article
Like
Save
Share
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 look more amazing.
How to use Semantic UI ? 
Just google CDN semantic UI and you will get the CDN link for semantic UI and just put it in your head tag of your HTML and you are good to go.
Let’s see the code for how to put semantic UI CDN in HTML. 
 

html




<!DOCTYPE html>
<html>
    <head>
        <title>Semantic UI</title>
        <link href=
         rel="stylesheet" />
    </head>
    <body>
        <h1>This is How to integrate semantic-ui</h1>
        <script src=
        </script>
    </body>
</html>


And you can remove the link from the head to see the difference.
The second way of using is downloading the min.css file of the Semantic UI whose link you can find on semantic UI official site and use it directly and it helps offline.
Now let’s see an example of using Semantic-UI. 
 

html




<!DOCTYPE html>
<html>
    <head>
        <title>Semantic UI</title>
        <link href=
         rel="stylesheet" />
    </head>
    <body>
        <div class="container">
            <h1>GeeksforGeeks</h1>
            <p>This is a simple example of using semantic-ui</p>
        </div>
        <script src=
         </script>
    </body>
</html>


Output: 
 

Let’s see another example of Semantic-UI loader. 
 

html




<!DOCTYPE html>
<html>
    <head>
        <title>Semantic UI</title>
        <link href=
         rel="stylesheet" />
    </head>
    <body>
        <div class="ui inverted segment">
            <div class="ui active inverted loader"></div>
            <br>
            <br>
            <br>
            <br>
          </div>
        <script src=
         </script>
    </body>
</html>


Output: 
 

You can directly run these examples by clicking on run on IDE.
 



Like Article
Suggest improvement
Previous
Next
Share your thoughts in the comments

Similar Reads