<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://script.spoken-tutorial.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Bootstrap%2FC3%2FList-Group-in-Bootstrap%2FEnglish</id>
		<title>Bootstrap/C3/List-Group-in-Bootstrap/English - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://script.spoken-tutorial.org/index.php?action=history&amp;feed=atom&amp;title=Bootstrap%2FC3%2FList-Group-in-Bootstrap%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Bootstrap/C3/List-Group-in-Bootstrap/English&amp;action=history"/>
		<updated>2026-04-05T15:05:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=Bootstrap/C3/List-Group-in-Bootstrap/English&amp;diff=55492&amp;oldid=prev</id>
		<title>Nirmala Venkat: Created page with &quot;  {| border=&quot;1&quot; |- || '''VISUAL CUE''' || '''NARRATION''' |- |- || Slide: Title || Welcome to the Spoken Tutorial on '''“List Group in Bootstrap”.''' |- || Slide 2:   Lear...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=Bootstrap/C3/List-Group-in-Bootstrap/English&amp;diff=55492&amp;oldid=prev"/>
				<updated>2021-09-01T11:33:24Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;  {| border=&amp;quot;1&amp;quot; |- || &amp;#039;&amp;#039;&amp;#039;VISUAL CUE&amp;#039;&amp;#039;&amp;#039; || &amp;#039;&amp;#039;&amp;#039;NARRATION&amp;#039;&amp;#039;&amp;#039; |- |- || Slide: Title || Welcome to the Spoken Tutorial on &amp;#039;&amp;#039;&amp;#039;“List Group in Bootstrap”.&amp;#039;&amp;#039;&amp;#039; |- || Slide 2:   Lear...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;1&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|| '''VISUAL CUE'''&lt;br /&gt;
|| '''NARRATION'''&lt;br /&gt;
|-&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Title&lt;br /&gt;
|| Welcome to the Spoken Tutorial on '''“List Group in Bootstrap”.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 2: &lt;br /&gt;
&lt;br /&gt;
Learning Objectives&lt;br /&gt;
|| In this tutorial, we will learn about:&lt;br /&gt;
* '''List group'''&lt;br /&gt;
* '''Active '''and''' disabled item'''&lt;br /&gt;
* '''List group '''with''' links '''and''' buttons '''and&lt;br /&gt;
* '''Contextual classes'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 3: &lt;br /&gt;
System Requirements&lt;br /&gt;
|| This tutorial is recorded using:&lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu Linux OS v 18.04 '''&lt;br /&gt;
* '''Bootstrap 4.6.0'''&lt;br /&gt;
* '''HTML5'''&lt;br /&gt;
* '''gedit Text Editor '''and&lt;br /&gt;
* '''Firefox web browser'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 4: Prerequisite &lt;br /&gt;
https://spoken-tutorial.org&lt;br /&gt;
||&lt;br /&gt;
* To follow this tutorial, you should be familiar with '''HTML''' and '''CSS.'''&lt;br /&gt;
* If not, please go through the '''HTML '''and''' CSS '''tutorials on this '''website'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Firefox- Mypage.html]&lt;br /&gt;
Highlight list group&lt;br /&gt;
&lt;br /&gt;
|| In this tutorial, we will create a '''list group''' using '''Bootstrap classes'''.&lt;br /&gt;
&lt;br /&gt;
This '''list group''' will display all the available store locations.&lt;br /&gt;
&lt;br /&gt;
We will learn about all '''list group''' '''classes''' of '''Bootstrap.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: List Group&lt;br /&gt;
|| '''List group '''is used to display a series of content.&lt;br /&gt;
&lt;br /&gt;
Generally, it is an '''unordered list''' with '''list items.'''&lt;br /&gt;
&lt;br /&gt;
Let’s see how to create this.&lt;br /&gt;
|-&lt;br /&gt;
|| Point to Mypage.html in My-bootstrap folder&lt;br /&gt;
&lt;br /&gt;
|| Locate the file '''Mypage.html '''in the '''My-bootstrap''' folder.&lt;br /&gt;
&lt;br /&gt;
We will use the '''Mypage.html '''file''' '''which we had saved earlier''' '''for this demonstration.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Code Files&lt;br /&gt;
|| &lt;br /&gt;
* The file used in this tutorial is available in the '''Code Files''' link on this tutorial page.&lt;br /&gt;
* Please download and extract it.&lt;br /&gt;
* Make a copy and then use it while practising.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Open Mypage.html in gedit&lt;br /&gt;
|| Open the file '''Mypage.html''' in any '''text editor.'''&lt;br /&gt;
&lt;br /&gt;
I have opened it in the '''gedit Text Editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - Mypage.html]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&amp;lt;ul class=&amp;quot;list-group my-2&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;list-group-item&amp;quot;&amp;gt;Stores&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;list-group-item&amp;quot;&amp;gt;Mumbai&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;list-group-item&amp;quot;&amp;gt;Delhi&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;list-group-item&amp;quot;&amp;gt;Chennai&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li class=&amp;quot;list-group-item&amp;quot;&amp;gt;Kolkata&lt;br /&gt;
&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
|| &lt;br /&gt;
In the 3rd row, after the '''Sign Up''' button, type the code as shown.&lt;br /&gt;
&lt;br /&gt;
Here, we have created a basic '''list group''' of an '''unordered list '''to display store locations.&lt;br /&gt;
&lt;br /&gt;
For example, I have added stores Mumbai, Delhi, Chennai and Kolkata as '''list items'''.&lt;br /&gt;
&lt;br /&gt;
'''.list-group class''' is used to add borders and '''padding''' around the '''list group''' and individual '''list items.'''&lt;br /&gt;
&lt;br /&gt;
We have added the''' .list-group-item class''' to every '''list item''' for proper spacing and '''styling'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Press Ctrl + S&lt;br /&gt;
|| Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|| Open Mypage.html in Firefox&lt;br /&gt;
|| Open the file '''Mypage.html''' in a '''web browser'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [Firefox]&lt;br /&gt;
Highlight list group&lt;br /&gt;
&lt;br /&gt;
|| Notice that a '''list group''' to display all store locations, has been successfully created.&lt;br /&gt;
&lt;br /&gt;
It has borders around the '''list''' '''group''' and individual '''list items.'''&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| We can remove the border around the '''list''' '''group''' and rounded corners.&lt;br /&gt;
Let’s see how to do this.&lt;br /&gt;
|-&lt;br /&gt;
|| Switch to Mypage.html&lt;br /&gt;
|| Switch to the''' Mypage.html''' file in the '''text editor'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - Mypage.html]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
|| Add '''.list-group-flush class '''as shown here.&lt;br /&gt;
&lt;br /&gt;
This '''class''' removes the border around the '''list group''' and rounded corners.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Press Ctrl + S&lt;br /&gt;
|| Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|| Switch to firefox&lt;br /&gt;
|| Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|| [Firefox]&lt;br /&gt;
|| Notice that now the border around the '''list''' is removed and the corners are not rounded.&lt;br /&gt;
&lt;br /&gt;
But the borders between the '''list items''' remain.&lt;br /&gt;
|-&lt;br /&gt;
|| [Firefox]&lt;br /&gt;
|| Let’s see other '''classes''' for the '''list group''' in '''Bootstrap'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Active &amp;amp; Disabled Item&lt;br /&gt;
|| '''.active class''' is used to indicate the current active '''list item''' selection.&lt;br /&gt;
&lt;br /&gt;
'''.disabled class''' is used to make the '''list items''' appear disabled.&lt;br /&gt;
&lt;br /&gt;
Let’s try one of them.&lt;br /&gt;
|-&lt;br /&gt;
|| Switch to Mypage.html&lt;br /&gt;
|| Switch to the''' Mypage.html''' file in the '''editor'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - Mypage.html]&lt;br /&gt;
Update:&lt;br /&gt;
|| Here we have added the '''.active class''' to the first''' list item''' as shown.&lt;br /&gt;
In the same manner, you can try '''.disabled class'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|| Press Ctrl + S&lt;br /&gt;
|| Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|| Switch to firefox&lt;br /&gt;
|| Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|| [Firefox]&lt;br /&gt;
|| Now the''' “Stores”''' is an active '''list item '''and its color has changed to '''blue.'''&lt;br /&gt;
&lt;br /&gt;
But notice that there is no change when we move the cursor over these '''list items.'''&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| &lt;br /&gt;
&lt;br /&gt;
Next, let’s create actionable''' list group items '''by using''' &amp;lt;anchor&amp;gt;s '''and''' &amp;lt;button&amp;gt;s.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Switch to Mypage.html&lt;br /&gt;
|| Switch to the''' Mypage.html''' file in the '''editor'''.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - Mypage.html]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
|| Update the '''list group''' as shown here.&lt;br /&gt;
&lt;br /&gt;
We have created the same '''list group''' using '''&amp;lt;button&amp;gt;s.'''&lt;br /&gt;
&lt;br /&gt;
We have added the '''.list-group-item-action class '''to every '''list item'''.&lt;br /&gt;
&lt;br /&gt;
This '''class''' creates actionable '''list group items''' with '''hover''', '''disabled''', and '''active states'''.&lt;br /&gt;
|-&lt;br /&gt;
|| Press Ctrl + S&lt;br /&gt;
|| Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|| Switch to firefox&lt;br /&gt;
|| Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|| Highlight list group&lt;br /&gt;
|| '''List group''' created using '''&amp;lt;button&amp;gt;s''' is looking the same as it was previously.&lt;br /&gt;
|-&lt;br /&gt;
|| [Firefox]&lt;br /&gt;
|| In a similar way, we can use '''&amp;lt;anchor&amp;gt;s '''for creating '''list groups'''.&lt;br /&gt;
&lt;br /&gt;
Now move the cursor over '''list items'''.&lt;br /&gt;
&lt;br /&gt;
Its background color darkens.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| We can also change the background color of the '''list group'''. &lt;br /&gt;
&lt;br /&gt;
Let's see how to do this.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Contextual Classes&lt;br /&gt;
&lt;br /&gt;
list-group.png&lt;br /&gt;
|| Following are the '''classes''' to colour the '''list items''' according to '''hover, disabled, '''and '''active states'''.&lt;br /&gt;
&lt;br /&gt;
Let’s use one of them.&lt;br /&gt;
|-&lt;br /&gt;
|| Switch to Mypage.html&lt;br /&gt;
|| Switch to the''' Mypage.html''' file.&lt;br /&gt;
|-&lt;br /&gt;
|| [gedit - Mypage.html]&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;div class=&amp;quot;list-group list-group-flush my-2&amp;quot;&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;list-group-item list-group-item-action list-group-item-secondary active&amp;quot;&amp;gt;Stores&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;list-group-item list-group-item-action list-group-item-secondary&amp;quot;&amp;gt;Mumbai&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;list-group-item list-group-item-action list-group-item-secondary&amp;quot;&amp;gt;Delhi&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;list-group-item list-group-item-action list-group-item-secondary&amp;quot;&amp;gt;Chennai&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;button type=&amp;quot;button&amp;quot; class=&amp;quot;list-group-item list-group-item-action list-group-item-secondary&amp;quot;&amp;gt;Kolkata&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/button&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
|| Add '''.list-group-item-secondary''' class to all the''' list items''' as shown.&lt;br /&gt;
|-&lt;br /&gt;
|| Press Ctrl + S&lt;br /&gt;
|| Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|| Switch to firefox&lt;br /&gt;
|| Switch to the '''browser''' and refresh the page.&lt;br /&gt;
|-&lt;br /&gt;
|| [Firefox]&lt;br /&gt;
|| Notice that the background color of the '''list group''' is now changed, according to the '''state'''. &lt;br /&gt;
&lt;br /&gt;
The''' list item “Stores” '''has an '''active state'''.&lt;br /&gt;
&lt;br /&gt;
So its background color is different as compared to the other '''items'''.&lt;br /&gt;
|-&lt;br /&gt;
|| &lt;br /&gt;
|| Likewise, we can also add other '''HTML elements''' to the '''list group.'''&lt;br /&gt;
&lt;br /&gt;
Like '''heading''', '''paragraph''', '''image''', etc.&lt;br /&gt;
&lt;br /&gt;
In this way we can create custom '''list groups''' using '''Bootstrap classes.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Only narration&lt;br /&gt;
|| With this we have come to the end of this tutorial. &lt;br /&gt;
&lt;br /&gt;
Let us summarize.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 6: Summary &lt;br /&gt;
|| In this tutorial, we have learnt about:&lt;br /&gt;
* '''List group'''&lt;br /&gt;
* '''Active '''and''' disabled item'''&lt;br /&gt;
* '''List group '''with''' links '''and''' buttons '''and&lt;br /&gt;
* '''Contextual classes'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide 8: Assignment&lt;br /&gt;
|| As an assignment-&lt;br /&gt;
&lt;br /&gt;
* Open the '''Mypage.html''' file.&lt;br /&gt;
* Remove '''.list-group-flush''' '''class'''&lt;br /&gt;
* Save the file.&lt;br /&gt;
* Observe the output on the '''web browser.'''&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: About Spoken Tutorial project&lt;br /&gt;
|| The video at the following link summarises the Spoken Tutorial project.&lt;br /&gt;
&lt;br /&gt;
Please download and watch it.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Spoken Tutorial Workshops&lt;br /&gt;
|| The Spoken Tutorial Project team conducts workshops and gives certificates.&lt;br /&gt;
&lt;br /&gt;
For more details, please write to us.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Forum&lt;br /&gt;
|| Please post your timed queries in this forum.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Acknowledgement&lt;br /&gt;
|| Spoken Tutorial project is funded by the Ministry of Education (MoE), Govt. of India.&lt;br /&gt;
|-&lt;br /&gt;
|| Slide: Thanks&lt;br /&gt;
|| The script and video for this tutorial was contributed by Neha Solanki.&lt;br /&gt;
&lt;br /&gt;
This is Nancy Varkey from the Spoken Tutorial project team, IIT Bombay signing off.&lt;br /&gt;
&lt;br /&gt;
Thanks for watching.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Nirmala Venkat</name></author>	</entry>

	</feed>