Semantic-UI Image Link Type
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. This framework allows us to use various of its styles and properties to make a website more user-friendly.
A Semantic UI Image is similar to the images used in HTML documents. An image is a graphic representation of some object. Semantic UI offers 2 types of images. These are Image and Image Link.
The image link is used to add links to the images so that when the image is clicked then it will redirect the page to the specified path.
Semantic-UI Image Link Type Class: There is no class for that we need to put the image inside the anchor tag.
Note: For this image, we need to include the image class inside of the anchor tag. We can also define the size as well.
<a href="..." class="ui image"> <img src="..."> </a>
Example 1: The following code demonstrates the image link type. When we run the given code and click on the image then we will be redirected to the GeeksforGeeks website.
Example 2: The following code demonstrates the image link type of various images in the form of a list.
Reference link: https://semantic-ui.com/elements/image.html#image-link
Please Login to comment...