Introduction to Semantic UI

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.



filter_none

edit
close

play_arrow

link
brightness_4
code

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

chevron_right


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.

filter_none

edit
close

play_arrow

link
brightness_4
code

<!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>

chevron_right


Output:

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

filter_none

edit
close

play_arrow

link
brightness_4
code

<!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>

chevron_right


Output:

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




My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.


Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.