<?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=CSS%2FC2%2FDisplay-Property-in-CSS%2FEnglish</id>
		<title>CSS/C2/Display-Property-in-CSS/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=CSS%2FC2%2FDisplay-Property-in-CSS%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C2/Display-Property-in-CSS/English&amp;action=history"/>
		<updated>2026-05-05T23:54:50Z</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=CSS/C2/Display-Property-in-CSS/English&amp;diff=54126&amp;oldid=prev</id>
		<title>Nancyvarkey at 05:01, 26 October 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C2/Display-Property-in-CSS/English&amp;diff=54126&amp;oldid=prev"/>
				<updated>2020-10-26T05:01:51Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 05:01, 26 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 199:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 199:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;&amp;lt;p id = &amp;quot;item2&amp;quot;&amp;gt; Fruits and vegetables provide essential vitamins and minerals to the body &amp;lt;/p&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;&amp;lt;p id = &amp;quot;item2&amp;quot;&amp;gt; Fruits and vegetables provide essential vitamins and minerals to the body &amp;lt;/p&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Now add these items to the '''paragraphs'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Now add these &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;items&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;to the '''paragraphs'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Inside the '''body tag''', next to the '''div closing tag''', type the code as shown.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Inside the '''body tag''', next to the '''div closing tag''', type the code as shown.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 216:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 216:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;We can see two new '''paragraphs'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;We can see two new '''paragraphs'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The first '''paragraph '''is in '''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;blocks &lt;/del&gt;'''with the mentioned''' height '''and '''width.'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The first '''paragraph '''is in '''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;block &lt;/ins&gt;'''with the mentioned''' height '''and '''width.'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;While the second '''paragraph '''is in '''inline '''and it ignores the mentioned '''height '''and '''width'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;While the second '''paragraph '''is in '''inline '''and it ignores the mentioned '''height '''and '''width'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Nancyvarkey</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=CSS/C2/Display-Property-in-CSS/English&amp;diff=54122&amp;oldid=prev</id>
		<title>Pravin1389 at 06:50, 24 October 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C2/Display-Property-in-CSS/English&amp;diff=54122&amp;oldid=prev"/>
				<updated>2020-10-24T06:50:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:50, 24 October 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 126:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Switch to the '''my-css''' folder&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Switch to the '''my-css''' folder&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For this demonstration, I’m &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;also &lt;/del&gt;using the file '''Mypage.html'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For this demonstration, I’m using the file '''Mypage.html'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The same is available in the '''Code files''' link for practice.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The same is available in the '''Code files''' link for practice.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 199:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 199:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;&amp;lt;p id = &amp;quot;item2&amp;quot;&amp;gt; Fruits and vegetables provide essential vitamins and minerals to the body &amp;lt;/p&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;nowiki&amp;gt;&amp;lt;p id = &amp;quot;item2&amp;quot;&amp;gt; Fruits and vegetables provide essential vitamins and minerals to the body &amp;lt;/p&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Now add these items to '''paragraphs'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|&amp;#160; | Now add these items to &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/ins&gt;'''paragraphs'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Inside the '''body tag''', next to the '''div closing tag''', type the code as shown.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Inside the '''body tag''', next to the '''div closing tag''', type the code as shown.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Pravin1389</name></author>	</entry>

	<entry>
		<id>https://script.spoken-tutorial.org/index.php?title=CSS/C2/Display-Property-in-CSS/English&amp;diff=54116&amp;oldid=prev</id>
		<title>Nehasolanki: Created page with &quot;'''Title of the script: '''Display property in CSS  '''Author:''' Neha Solanki  '''Domain Reviewer: '''Ankita Maske, Om Prakash Soni  '''Novice Reviewer:''' Madhuri Ganapathi...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C2/Display-Property-in-CSS/English&amp;diff=54116&amp;oldid=prev"/>
				<updated>2020-10-23T10:59:53Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Title of the script: &amp;#039;&amp;#039;&amp;#039;Display property in CSS  &amp;#039;&amp;#039;&amp;#039;Author:&amp;#039;&amp;#039;&amp;#039; Neha Solanki  &amp;#039;&amp;#039;&amp;#039;Domain Reviewer: &amp;#039;&amp;#039;&amp;#039;Ankita Maske, Om Prakash Soni  &amp;#039;&amp;#039;&amp;#039;Novice Reviewer:&amp;#039;&amp;#039;&amp;#039; Madhuri Ganapathi...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Title of the script: '''Display property in CSS&lt;br /&gt;
&lt;br /&gt;
'''Author:''' Neha Solanki&lt;br /&gt;
&lt;br /&gt;
'''Domain Reviewer: '''Ankita Maske, Om Prakash Soni&lt;br /&gt;
&lt;br /&gt;
'''Novice Reviewer:''' Madhuri Ganapathi&lt;br /&gt;
&lt;br /&gt;
'''Keywords: '''CSS, HTML, Web Page, Web Design, Web Technology, Video Tutorial, Spoken Tutorial, CSS Property, CSS Display, Block Level Element, Inline Level Element&lt;br /&gt;
&lt;br /&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;
|  | Slide: Title&lt;br /&gt;
|  | Welcome to the spoken tutorial on “'''Display property '''in''' CSS'''” &lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Learning Objectives&lt;br /&gt;
|  | In this tutorial we will learn about:&lt;br /&gt;
&lt;br /&gt;
* '''Display property''' of an '''element''' in''' CSS'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: &lt;br /&gt;
&lt;br /&gt;
System Requirements&lt;br /&gt;
&lt;br /&gt;
|  | This tutorial is recorded using &lt;br /&gt;
&lt;br /&gt;
* '''Ubuntu Linux OS v 18.04 '''&lt;br /&gt;
* '''CSS3'''&lt;br /&gt;
* '''HTML5'''&lt;br /&gt;
* '''gedit Text Editor'''&lt;br /&gt;
* '''Firefox web browser'''&lt;br /&gt;
&lt;br /&gt;
However you may use any other '''editor''' or '''browser''' of your choice.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Prerequisite &lt;br /&gt;
&lt;br /&gt;
https://spoken-tutorial.org&lt;br /&gt;
|  | To practise this tutorial, you should know to use '''HTML''' and '''CSS'''&lt;br /&gt;
&lt;br /&gt;
If not, please go through the '''HTML''' and '''CSS '''tutorials on this website.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Code Files&lt;br /&gt;
|  | The files used in this tutorial are available in the '''Code Files''' link on this tutorial page.&lt;br /&gt;
&lt;br /&gt;
Please download and extract them.&lt;br /&gt;
&lt;br /&gt;
Make a copy and then use them while practising.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Display&lt;br /&gt;
|  | &lt;br /&gt;
* '''Display property''' is used to specify how an '''element''' should be presented on a '''webpage'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Display&lt;br /&gt;
|  | &lt;br /&gt;
&lt;br /&gt;
* Values of this '''property''' are:&lt;br /&gt;
** '''block'''&lt;br /&gt;
** '''inline'''&lt;br /&gt;
** '''none'''&lt;br /&gt;
&lt;br /&gt;
* Each '''element '''has a default '''display '''value.&lt;br /&gt;
&lt;br /&gt;
Let us understand these one by one.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Block&lt;br /&gt;
|  | &lt;br /&gt;
* '''block '''value is used to present an '''element '''as a''' block-level element.'''&lt;br /&gt;
* '''Block-level element '''starts with a new line.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Block-level element&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;&amp;lt;div&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;&amp;lt;header&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;&amp;lt;h1&amp;gt; to &amp;lt;h6&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;&amp;lt;p&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;&amp;lt;form&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
|  | These are some '''elements '''which have a default '''block''' value:&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Inline&lt;br /&gt;
|  | &lt;br /&gt;
* '''inline '''value is used to present an '''element '''as an '''inline-level element.'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Inline-level element&lt;br /&gt;
|  | The''' Inline-level element '''&lt;br /&gt;
&lt;br /&gt;
* Does not start with a new line and &lt;br /&gt;
* Ignores '''height '''and '''width '''if they are mentioned&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Inline-level element&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;&amp;lt;span&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;&amp;lt;a&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
'''&amp;lt;nowiki&amp;gt;&amp;lt;img&amp;gt;&amp;lt;/nowiki&amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
|  | These are some '''elements''' which have default '''inline''' value:&lt;br /&gt;
&lt;br /&gt;
Let us try with some examples.&lt;br /&gt;
|-&lt;br /&gt;
|  | Open '''my-css '''folder&lt;br /&gt;
|  | Go to the practice folder '''my-css.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Open mystyle.css&lt;br /&gt;
|  | Let’s open the file '''mystyle.css''' in a '''text editor'''.&lt;br /&gt;
&lt;br /&gt;
The same is available in the '''Code files''' link for practice.&lt;br /&gt;
&lt;br /&gt;
I have already opened it in the '''gedit Text Editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Point to Mypage.html in my-css folder&lt;br /&gt;
|  | Switch to the '''my-css''' folder&lt;br /&gt;
&lt;br /&gt;
For this demonstration, I’m also using the file '''Mypage.html'''.&lt;br /&gt;
&lt;br /&gt;
The same is available in the '''Code files''' link for practice.&lt;br /&gt;
|-&lt;br /&gt;
|  | Open Mypage.html in firefox&lt;br /&gt;
|  | Now open the file '''Mypage.html''' in a web browser.&lt;br /&gt;
&lt;br /&gt;
The '''webpage''' opens.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to mystyle.css&lt;br /&gt;
|  | Switch to the '''mystyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - mystyle.css]&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#item1{ &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:height: 200px; &lt;br /&gt;
&lt;br /&gt;
:width: 150px; &lt;br /&gt;
&lt;br /&gt;
:background: lightpink; &lt;br /&gt;
&lt;br /&gt;
:display: block;} &lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#item2{ &amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:height:200px; &lt;br /&gt;
&lt;br /&gt;
:width: 150px; &lt;br /&gt;
&lt;br /&gt;
:background: lightblue; &lt;br /&gt;
&lt;br /&gt;
:display: inline; } &lt;br /&gt;
|  | Now let’s create two '''elements '''using an '''id selector'''.&lt;br /&gt;
&lt;br /&gt;
Next to the '''div tag''', type the code as shown.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - mystyle.css] Highlight:&lt;br /&gt;
&lt;br /&gt;
height: 200px; &lt;br /&gt;
&lt;br /&gt;
width: 150px; &lt;br /&gt;
&lt;br /&gt;
background: lightpink; &lt;br /&gt;
|  | In both the cases I have set the '''height''', '''width''' and '''background'''.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight:&lt;br /&gt;
&lt;br /&gt;
display: block;&lt;br /&gt;
|  | For '''item1''' I have set the value for the '''display property''' to '''block.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Highlight:&lt;br /&gt;
&lt;br /&gt;
display: inline;&lt;br /&gt;
|  | For '''item2''' I have set the value for the '''display property''' to '''inline.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Press Ctrl + S&lt;br /&gt;
|  | Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to the '''my-css'''&lt;br /&gt;
|  | Switch to the '''my-css '''folder.&lt;br /&gt;
|-&lt;br /&gt;
|  | Open Mypage.html in gedit&lt;br /&gt;
|  | Open the file '''Mypage.html''' in the '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Mypage.html]Type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;p id = &amp;quot;item1&amp;quot;&amp;gt; Fruits and vegetables provide essential vitamins and minerals to the body &amp;lt;/p&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;&amp;lt;p id = &amp;quot;item2&amp;quot;&amp;gt; Fruits and vegetables provide essential vitamins and minerals to the body &amp;lt;/p&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|  | Now add these items to '''paragraphs'''.&lt;br /&gt;
&lt;br /&gt;
Inside the '''body tag''', next to the '''div closing tag''', type the code 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;
&lt;br /&gt;
Highlight the paragraph&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
We can see two new '''paragraphs'''.&lt;br /&gt;
&lt;br /&gt;
The first '''paragraph '''is in '''blocks '''with the mentioned''' height '''and '''width.'''&lt;br /&gt;
&lt;br /&gt;
While the second '''paragraph '''is in '''inline '''and it ignores the mentioned '''height '''and '''width'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to mystyle.css&lt;br /&gt;
|  | Switch to the '''mystyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - mystyle.css]&lt;br /&gt;
&lt;br /&gt;
Delete: display: inline;&lt;br /&gt;
|  | Now I will remove the '''display property''' from '''item2'''.&lt;br /&gt;
&lt;br /&gt;
Inside '''&amp;lt;nowiki&amp;gt;#item2&amp;lt;/nowiki&amp;gt;''', delete the code 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;
&lt;br /&gt;
Highlight the paragraph&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Now the second '''paragraph '''is also inside the '''block.'''&lt;br /&gt;
&lt;br /&gt;
This is because by default the '''display property''' value of a '''paragraph '''is '''block'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: None&lt;br /&gt;
|  | &lt;br /&gt;
* '''none '''value is used to remove the '''display''' of an '''element'''.&lt;br /&gt;
* The '''&amp;lt;script&amp;gt;''' '''element '''has default '''none''' '''display''' value.&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to mystyle.css&lt;br /&gt;
|  | Switch to the '''mystyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - mystyle.css]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#item1: Update: display: none;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;nowiki&amp;gt;#item2: &amp;lt;/nowiki&amp;gt;Type: display: none;&lt;br /&gt;
|  | Now I will set the '''display''' value to '''none''' in '''item1 '''and '''item2'''.&lt;br /&gt;
&lt;br /&gt;
In the '''&amp;lt;nowiki&amp;gt;#item1&amp;lt;/nowiki&amp;gt;''' and''' #item2''', update the code 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;
&lt;br /&gt;
Highlight the paragraph&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Both the '''paragraphs '''are not displayed now.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to mystyle.css&lt;br /&gt;
&lt;br /&gt;
Ctrl + Z&lt;br /&gt;
&lt;br /&gt;
Ctrl + S&lt;br /&gt;
|  | Switch to the '''mystyle.css''' file&lt;br /&gt;
&lt;br /&gt;
Press''' Ctrl + Z''' keys repeatedly to undo all the changes which we have made in this file.&lt;br /&gt;
&lt;br /&gt;
Save the file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Mypage.html&lt;br /&gt;
&lt;br /&gt;
Ctrl + Z&lt;br /&gt;
&lt;br /&gt;
Ctrl + S&lt;br /&gt;
|  | Switch to the '''Mypage.html''' file&lt;br /&gt;
&lt;br /&gt;
Press''' Ctrl + Z''' keys repeatedly to undo all the changes which we have done in this file.&lt;br /&gt;
&lt;br /&gt;
Save the file.&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: Summary &lt;br /&gt;
|  | In this tutorial, we have learnt about:&lt;br /&gt;
&lt;br /&gt;
* '''Display property''' of an '''element '''in''' CSS'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Assignment&lt;br /&gt;
|  | As an assignment&lt;br /&gt;
&lt;br /&gt;
* Open the file '''styles.css''' which you have created earlier&lt;br /&gt;
* Add one more '''paragraph''' using the '''p''' '''tag''' without the '''div tag'''.&lt;br /&gt;
* Set the following '''properties''' for this '''p''' '''tag''' using '''selector''':&lt;br /&gt;
** '''Height''' to '''200px'''&lt;br /&gt;
** '''Width''' to '''200px'''&lt;br /&gt;
** '''Background''' '''color''' to '''lightpink'''&lt;br /&gt;
** '''Display''' to '''inline'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Assignment&lt;br /&gt;
|  | &lt;br /&gt;
* Link the '''styles.css''' file to '''webpage.html''' file&lt;br /&gt;
* Observe the output&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide:&lt;br /&gt;
&lt;br /&gt;
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 on this forum.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Acknowledgement&lt;br /&gt;
|  | Spoken Tutorial project is funded by Ministry of Education (MoE), Govt. of India.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Thanks&lt;br /&gt;
|  | The script for this tutorial is contributed by Neha Solanki&lt;br /&gt;
&lt;br /&gt;
and this is Madhuri Ganapathi from IIT Bombay.&lt;br /&gt;
&lt;br /&gt;
Thank you for watching.&lt;br /&gt;
|-&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>Nehasolanki</name></author>	</entry>

	</feed>