<?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%2FC3%2FForms-in-CSS%2FEnglish</id>
		<title>CSS/C3/Forms-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%2FC3%2FForms-in-CSS%2FEnglish"/>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C3/Forms-in-CSS/English&amp;action=history"/>
		<updated>2026-05-20T17:21:55Z</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/C3/Forms-in-CSS/English&amp;diff=54436&amp;oldid=prev</id>
		<title>Nancyvarkey at 10:18, 18 November 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C3/Forms-in-CSS/English&amp;diff=54436&amp;oldid=prev"/>
				<updated>2020-11-18T10:18:39Z</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 10:18, 18 November 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 113:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 113:&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; | Here I have created a simple '''form''' to fetch '''First Name''' from the '''user'''.&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; | Here I have created a simple '''form''' to fetch '''First Name''' from the '''user'''.&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;And linked this file to '''style&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/del&gt;css''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;stylesheet&lt;/del&gt;.&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;And linked this file to '''style.css &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; stylesheet&lt;/ins&gt;'''.&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;div&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;|-&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;div&gt;|&amp;#160; | Open MyWebForm.html in firefox&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; | Open MyWebForm.html in firefox&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 208:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 208:&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; | Observe the output.&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; | Observe the output.&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;Width is set to 60% of the width of '''web&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;''' '''&lt;/del&gt;page''' &amp;#160;&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;Width is set to 60% of the width of '''web page''' &amp;#160;&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;div&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;|-&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;div&gt;|&amp;#160; | Only narration&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; | Only narration&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; | Next, using''' Padding '''property we can add some space around the '''text'''.&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; | Next, using''' Padding '''property we can add some &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;space&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;around the '''text'''.&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;Let us try this.&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;Let us try this.&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/C3/Forms-in-CSS/English&amp;diff=54407&amp;oldid=prev</id>
		<title>Pravin1389 at 17:32, 13 November 2020</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C3/Forms-in-CSS/English&amp;diff=54407&amp;oldid=prev"/>
				<updated>2020-11-13T17:32:22Z</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 17:32, 13 November 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 272:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 272:&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;|-&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;|-&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;div&gt;|&amp;#160; | Slide: Focus&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; | Slide: Focus&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; | &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Next, &lt;/del&gt;'''Focus selector '''is used to '''style''' the '''input field '''when the '''element '''is focused.&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; | '''Focus selector '''is used to '''style''' the '''input field '''when the '''element '''is focused.&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;Let us try this. &amp;#160;&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;Let us try this. &amp;#160;&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 437:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 437:&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;This file is available in the '''Code files''' link.&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;This file is available in the '''Code files''' link.&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;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Let us look at them.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&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;|-&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;|-&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;div&gt;|&amp;#160; | [gedit - '''MyForm.html''']&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; | [gedit - '''MyForm.html''']&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/C3/Forms-in-CSS/English&amp;diff=54392&amp;oldid=prev</id>
		<title>Nehasolanki: Created page with &quot;'''Title of the script: '''Forms in CSS  '''Author:''' Neha Solanki  '''Domain Reviewer: '''Ankita Maske, Om Prakash Soni  '''Novice Reviewer:''' Madhuri Ganapathi  '''Keyword...&quot;</title>
		<link rel="alternate" type="text/html" href="https://script.spoken-tutorial.org/index.php?title=CSS/C3/Forms-in-CSS/English&amp;diff=54392&amp;oldid=prev"/>
				<updated>2020-11-11T14:19:15Z</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;Forms 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;#039;&amp;#039;&amp;#039;Keyword...&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: '''Forms 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 Forms, CSS Forms Border, CSS Forms Width, CSS Forms Padding, CSS Forms Color, CSS Forms Focus, CSS Forms Image, CSS Forms Animation, CSS Forms Label, Media rule, CSS Forms Select Menu, CSS Forms Textarea, CSS Forms Input Buttons, CSS Responsive Form&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 “'''Forms 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;
* Styling '''Forms '''in''' CSS '''and&lt;br /&gt;
* Customise the '''input fields''' as per our requirements&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 '''and&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: Forms&lt;br /&gt;
|  | &lt;br /&gt;
* Using '''CSS''' we can style and format '''forms '''as per our requirements.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Forms&lt;br /&gt;
&lt;br /&gt;
{| style=&amp;quot;width: 22em;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| '''Border''' || '''Width'''&lt;br /&gt;
|-&lt;br /&gt;
| '''Padding || '''Color'''&lt;br /&gt;
|-&lt;br /&gt;
| '''Focus''' || '''Image'''&lt;br /&gt;
|-&lt;br /&gt;
|'''Animation'''&lt;br /&gt;
|}&lt;br /&gt;
|  | These are some '''CSS '''properties used for '''forms''':&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Forms&lt;br /&gt;
|  | We will learn how to design:&lt;br /&gt;
&lt;br /&gt;
* '''Input text'''&lt;br /&gt;
* '''Label'''&lt;br /&gt;
* '''Select Menu'''&lt;br /&gt;
* '''Textarea'''&lt;br /&gt;
* '''Input Buttons'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Forms&lt;br /&gt;
|  | We will also learn how to create a '''Responsive Form.'''&lt;br /&gt;
&lt;br /&gt;
Let us understand these one by one.&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;
|  | Narration&lt;br /&gt;
|  | For this demonstration I have created a '''Registration form '''and saved it as '''MyWebForm.html'''&lt;br /&gt;
&lt;br /&gt;
The same is available in the '''Code files '''link.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - MyWebForm.html]&lt;br /&gt;
|  | Open the file '''MyWebForm.html '''in any '''text editor.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - MyWebForm.html] Highlight:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;form&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;label for=&amp;quot;fname&amp;quot;&amp;gt; First Name &amp;lt;/label&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;input type=&amp;quot;text&amp;quot; name=&amp;quot;fname&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;input type=&amp;quot;button&amp;quot; value=&amp;quot;Submit&amp;quot;&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;link rel=&amp;quot;stylesheet&amp;quot; href=&amp;quot;Style.css&amp;quot;&amp;gt;&lt;br /&gt;
|  | Here I have created a simple '''form''' to fetch '''First Name''' from the '''user'''.&lt;br /&gt;
&lt;br /&gt;
And linked this file to '''style'''.'''css''' stylesheet.&lt;br /&gt;
|-&lt;br /&gt;
|  | Open MyWebForm.html in firefox&lt;br /&gt;
|  | Switch to the '''my-css''' folder.&lt;br /&gt;
&lt;br /&gt;
Now open the file '''MyWebForm.html''' in a '''web browser'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
It displays an '''input textbox''' to get the '''First name''' from the '''user'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Narration &lt;br /&gt;
|  | Let us apply '''CSS '''properties to this '''form'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Border&lt;br /&gt;
&lt;br /&gt;
|  | &lt;br /&gt;
* '''Border '''property is used to set the size, type and color for the '''borders'''.&lt;br /&gt;
* '''Border-radius''' property is used to make the corners round.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Open Style.css in gedit&lt;br /&gt;
|  | Switch to the '''my-css''' folder.&lt;br /&gt;
&lt;br /&gt;
Open the file '''Style.css''' 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 - Style.css] Type:&lt;br /&gt;
&lt;br /&gt;
input[type=text]{&lt;br /&gt;
&lt;br /&gt;
border: 3px solid purple;&lt;br /&gt;
&lt;br /&gt;
border-radius: 10px;}&lt;br /&gt;
|  | &lt;br /&gt;
&lt;br /&gt;
Now type the code as shown.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] &lt;br /&gt;
&lt;br /&gt;
Highlight:&lt;br /&gt;
&lt;br /&gt;
input[type=text]&lt;br /&gt;
|  | The way to define the '''CSS''' property for a '''form''' is different from other '''elements'''.&lt;br /&gt;
&lt;br /&gt;
Here I have written the name of the '''form element''' first.&lt;br /&gt;
&lt;br /&gt;
Then within the square bracket I have mentioned the '''type''' of the '''element'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] Highlight:&lt;br /&gt;
&lt;br /&gt;
border: 3px solid purple;&lt;br /&gt;
&lt;br /&gt;
border-radius: 10px;&lt;br /&gt;
|  | I have set the '''border''' '''size''' to '''3 pixels''', '''border''' '''type''' to '''solid''' and '''border color '''to''' purple.'''&lt;br /&gt;
&lt;br /&gt;
To increase the size of roundness I have set the '''radius''' to '''10 pixels'''.&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] Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
The border is set now.&lt;br /&gt;
|-&lt;br /&gt;
|  | Only narration&lt;br /&gt;
|  | Next, using '''CSS width '''property we can set '''width''' of the '''form elements.'''&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Style.css&lt;br /&gt;
|  | Switch to the '''Style.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] Type:&lt;br /&gt;
&lt;br /&gt;
width: 60%;&lt;br /&gt;
|  | I will set the '''width '''of the '''input field '''to''' 60% '''of the '''web page'''.&lt;br /&gt;
&lt;br /&gt;
Inside the''' input text tag''', next to '''border-radius''' property, 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] Highlight the output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Width is set to 60% of the width of '''web''' '''page''' &lt;br /&gt;
|-&lt;br /&gt;
|  | Only narration&lt;br /&gt;
|  | Next, using''' Padding '''property we can add some space around the '''text'''.&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Style.css&lt;br /&gt;
|  | Switch to the '''Style.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] Type:&lt;br /&gt;
&lt;br /&gt;
padding: 10px;&lt;br /&gt;
|  | I will set the '''padding '''to''' 10 pixels.'''&lt;br /&gt;
&lt;br /&gt;
Inside the''' input text tag''', next to '''width''' property, 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 output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Size of the '''input field''' has increased because we have set the '''padding''' space to '''10 pixels.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Only narration&lt;br /&gt;
|  | Using '''CSS color '''property we can set colors to the forms, as well.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Style.css&lt;br /&gt;
|  | Switch to the '''Style.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] Type:&lt;br /&gt;
&lt;br /&gt;
background-color: lightcyan;&lt;br /&gt;
&lt;br /&gt;
color: blue;&lt;br /&gt;
|  | I will set the '''background color '''to''' light cyan '''and the '''color '''of the text to''' blue.'''&lt;br /&gt;
&lt;br /&gt;
Inside the''' input text tag''', next to '''padding''' property, 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 output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
'''Background color''' is set''' '''to''' light cyan.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] Type: Spoken&lt;br /&gt;
|  | Now type some text in the''' input field '''for testing purposes.&lt;br /&gt;
&lt;br /&gt;
We can see the''' color '''of the text is''' blue.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Focus&lt;br /&gt;
|  | Next, '''Focus selector '''is used to '''style''' the '''input field '''when the '''element '''is focused.&lt;br /&gt;
&lt;br /&gt;
Let us try this. &lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Style.css&lt;br /&gt;
|  | Switch to the '''Style.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] Type:&lt;br /&gt;
&lt;br /&gt;
input[type=text]:focus {background-color: lightgreen;}&lt;br /&gt;
|  | I will set the '''background color '''to''' green '''when the '''input text box''' is focused.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Next to the''' input text 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 output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Now click on the '''input field''', and see the '''background''' '''color''' changes to '''green'''.&lt;br /&gt;
&lt;br /&gt;
Now click anywhere outside the''' input field.'''&lt;br /&gt;
&lt;br /&gt;
The '''background color''' of the '''input''' '''textbox''' changes to its original color, '''light cyan.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Image&lt;br /&gt;
|  | &lt;br /&gt;
* '''background-image '''property is used to set an '''image''' inside the '''input field'''.&lt;br /&gt;
* Along with this, we can use '''background-position '''and''' background-repeat''' property&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Style.css&lt;br /&gt;
|  | Switch to the '''Style.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] &lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
background-image:url(&amp;quot;index.png&amp;quot;);&lt;br /&gt;
&lt;br /&gt;
background-repeat: no-repeat;&lt;br /&gt;
|  | I will set a '''background image''' with '''no repeat '''property.&lt;br /&gt;
&lt;br /&gt;
Inside the''' input text tag''', next to '''color''' property, type the code as shown.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css]&lt;br /&gt;
&lt;br /&gt;
Highlight: &amp;quot;index.png&amp;quot;&lt;br /&gt;
|  | This image is available in the '''Code Files''' link on this tutorial page.&lt;br /&gt;
&lt;br /&gt;
Please download and keep it in the folder where you have saved your code files.&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 output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Our selected '''background image''' is set in the '''input field.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Only narration&lt;br /&gt;
|  | We see that the text overlaps the '''image'''.&lt;br /&gt;
&lt;br /&gt;
To solve this problem, we will use '''text-indent''' property.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Style.css&lt;br /&gt;
|  | Switch to the '''Style.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] &lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
text-indent: 50px;&lt;br /&gt;
|  | I will set the '''text indentation '''to''' 50 pixels.'''&lt;br /&gt;
&lt;br /&gt;
Next to the''' background-repeat '''property, 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] Highlight the output&lt;br /&gt;
&lt;br /&gt;
Type: Spoken&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
We can see that text does not overlap the '''image'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Animation&lt;br /&gt;
|  | &lt;br /&gt;
* '''Animation''' can be done in '''forms''' using '''transition''' property.&lt;br /&gt;
* '''Transition''' property is used to change the property values over a given duration.&lt;br /&gt;
&lt;br /&gt;
Let us try this.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Style.css&lt;br /&gt;
|  | Switch to the '''Style.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] Type:&lt;br /&gt;
&lt;br /&gt;
transition: width 0.2s ease-in-out;&lt;br /&gt;
|  | Inside the''' input text tag''', next to the '''text indent '''property, type the code as shown.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] Highlight&lt;br /&gt;
&lt;br /&gt;
transition: width 0.2s;&lt;br /&gt;
|  | Here the '''transition '''property is set for '''width '''with a duration of '''0'''.'''2 seconds'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - Style.css] Type:&lt;br /&gt;
&lt;br /&gt;
width: 100%;&lt;br /&gt;
|  | Inside the '''input focus tag''', next to the '''background color '''property,&lt;br /&gt;
&lt;br /&gt;
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 output&lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
&lt;br /&gt;
Now click on the '''input field'''.&lt;br /&gt;
&lt;br /&gt;
The '''width''' of the '''input text box''' is scaled to '''100%''' of the '''web page'''.&lt;br /&gt;
&lt;br /&gt;
Now click anywhere outside the '''input field''', &lt;br /&gt;
&lt;br /&gt;
The '''width''' of the '''input textbox is '''scaled back to its previous size.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to '''my-css '''folder&lt;br /&gt;
|  | Switch to the '''my-css '''folder.&lt;br /&gt;
|-&lt;br /&gt;
|  | Point to the files &lt;br /&gt;
&lt;br /&gt;
'''MyForm.html'''&lt;br /&gt;
&lt;br /&gt;
'''formstyle.css'''&lt;br /&gt;
&lt;br /&gt;
In the file browser&lt;br /&gt;
|  | Likewise I have formatted some more '''form''' attributes in the file '''MyForm.html'''.&lt;br /&gt;
&lt;br /&gt;
I have added some '''CSS''' to '''Style''' the '''form''' in the file '''formstyle.css'''.&lt;br /&gt;
&lt;br /&gt;
This file is available in the '''Code files''' link.&lt;br /&gt;
&lt;br /&gt;
Let us look at them.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - '''MyForm.html''']&lt;br /&gt;
&lt;br /&gt;
Highlight the '''div''' tags&lt;br /&gt;
|  | First we will see the '''HTML code'''.&lt;br /&gt;
&lt;br /&gt;
Open this file in any '''text editor'''&lt;br /&gt;
&lt;br /&gt;
Using the '''div tag''', I have formatted the '''form''' for better visibility.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - '''MyForm.html'''] Highlight &lt;br /&gt;
&lt;br /&gt;
class=”column1”&lt;br /&gt;
&lt;br /&gt;
class=”column2”&lt;br /&gt;
&lt;br /&gt;
class=”column3”&lt;br /&gt;
|  | Inside the '''div tag''', I have declared the '''CSS''' '''class''' named '''column1, column2 '''and '''column3.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - '''MyForm.html''']&lt;br /&gt;
&lt;br /&gt;
Highlight '''Select''' section&lt;br /&gt;
|  | Then I have included the '''select menu''' to select the '''country'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - '''MyForm.html''']&lt;br /&gt;
&lt;br /&gt;
Highlight '''Text''' area&lt;br /&gt;
|  | I have also included a '''text area''' to get the information about the '''user'''.&lt;br /&gt;
&lt;br /&gt;
It is used to get a multi-line text input from the '''user'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - '''formstyle.css''']&lt;br /&gt;
|  | Now we will have a look at the '''CSS''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | Open formstyle.css in gedit&lt;br /&gt;
|  | Switch to the '''my-css''' folder.&lt;br /&gt;
&lt;br /&gt;
Open the file '''formstyle.css''' 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 - '''formstyle.css'''] Highlight&lt;br /&gt;
&lt;br /&gt;
'''column''' '''1''', '''column 2, column 3''' properties&lt;br /&gt;
|  | Here I have defined all the classes '''column1,''' '''column2 '''and '''column3.'''&lt;br /&gt;
&lt;br /&gt;
Then based on my requirement I have set the '''float''', '''width''' and '''top''' '''margin''' values.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - '''formstyle.css'''] &lt;br /&gt;
&lt;br /&gt;
Highlight: '''CSS''' property for '''label'''&lt;br /&gt;
|  | For the '''label''' property, I have set the '''font''' '''weight''' to '''bold''' and '''padding''' to '''8 pixels.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - '''formstyle.css'''] &lt;br /&gt;
&lt;br /&gt;
Highlight: '''CSS''' property for '''Select''' menu&lt;br /&gt;
|  | For the '''Select''' menu, I have set some properties.&lt;br /&gt;
&lt;br /&gt;
Like '''width, padding, border, border-radius, background-color '''&amp;amp;''' color '''property'''.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - '''formstyle.css'''] Highlight:&lt;br /&gt;
&lt;br /&gt;
'''CSS''' property for '''input text box ''', '''textarea &amp;amp;''' '''Button'''&lt;br /&gt;
|  | Lastly I have also set some property for the '''input text box ''', '''textarea''' and '''button'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Open '''MyForm.html''' in firefox&lt;br /&gt;
|  | Switch to the '''my-css''' folder.&lt;br /&gt;
&lt;br /&gt;
Now open the file '''MyForm.html''' in a '''web browser'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
|  | Observe the output.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Point to the '''textarea''' boundary&lt;br /&gt;
|  | Let us resize the text area.&lt;br /&gt;
&lt;br /&gt;
Place the mouse pointer at the bottom right corner of the textarea and drag.&lt;br /&gt;
&lt;br /&gt;
To stop this resizing, we use '''resize '''property.&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to formstyle.css&lt;br /&gt;
|  | Switch to the '''formstyle.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit - '''formstyle.css]'''&lt;br /&gt;
&lt;br /&gt;
Type: resize: none;&lt;br /&gt;
|  | Inside the '''textarea tag,''' next to '''color '''property, 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] Highlight the output&lt;br /&gt;
|  | Observe that we cannot resize the '''textarea '''anymore.&lt;br /&gt;
|-&lt;br /&gt;
|  | [Firefox] &lt;br /&gt;
&lt;br /&gt;
Highlight the page&lt;br /&gt;
|  | Now resize the browser width to '''600px '''or smaller.&lt;br /&gt;
&lt;br /&gt;
We see that alignment of this form has not changed. &lt;br /&gt;
&lt;br /&gt;
Note that, this representation of the '''form''' is not '''user friendly''' for small screen '''users'''.&lt;br /&gt;
|-&lt;br /&gt;
|  | Only narration&lt;br /&gt;
|  | So I will make it '''user friendly''' for small screen '''devices'''.&lt;br /&gt;
&lt;br /&gt;
For this, I will create a '''responsive form''' using the '''Media rule.'''&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Responsive Forms&lt;br /&gt;
|  | &lt;br /&gt;
* Using '''responsive''' '''forms''' we can make our '''form''' compatible for all screen sizes.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Media rule&lt;br /&gt;
|  | &lt;br /&gt;
* '''Media rule''' is used to set some '''CSS''' properties if a certain condition is true.&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Switch to Style.css&lt;br /&gt;
|  | Switch to the '''Style.css''' file.&lt;br /&gt;
|-&lt;br /&gt;
|  | [gedit '''formstyle.css]'''&lt;br /&gt;
&lt;br /&gt;
Type:&lt;br /&gt;
&lt;br /&gt;
@media screen and (max-width: 600px) {&lt;br /&gt;
&lt;br /&gt;
.column1, .column2{&lt;br /&gt;
&lt;br /&gt;
width: 100%;} }&lt;br /&gt;
|  | Next to the '''input button tag''', type the code as shown.&lt;br /&gt;
&lt;br /&gt;
Here I have used '''media''' '''rule'''.&lt;br /&gt;
&lt;br /&gt;
It sets the '''label, input text''', '''select menu, textarea '''and '''input button '''to''' 100% width'''&lt;br /&gt;
&lt;br /&gt;
This happens when the '''width''' of the '''browser window''' is '''600px '''or smaller.&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 output&lt;br /&gt;
|  | The '''label, input text''', '''select menu, textarea '''and '''input button '''stack on top of each other.&lt;br /&gt;
&lt;br /&gt;
This is because the '''width '''of all the '''elements '''is now set to '''100%'''.&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;
* Styling '''Forms '''in''' CSS '''and&lt;br /&gt;
* Customise the '''input fields''' as per our requirements&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Assignment&lt;br /&gt;
|  | As an assignment&lt;br /&gt;
&lt;br /&gt;
* Create a file '''loginpage.html'''.&lt;br /&gt;
* Obtain the following details from the user&lt;br /&gt;
** Email Address&lt;br /&gt;
** Password&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Assignment&lt;br /&gt;
|  | &lt;br /&gt;
* Add a '''select''' '''menu''' to select the '''gender'''.&lt;br /&gt;
* Add a '''button''' as '''Login'''&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|  | Slide: Assignment&lt;br /&gt;
|  | &lt;br /&gt;
* Create a file '''webformstyles.css.'''&lt;br /&gt;
* Style all the '''form elements'''.&lt;br /&gt;
* Link the '''webformstyles.css''' file to '''loginpage.html''' file.&lt;br /&gt;
* Observe the output&lt;br /&gt;
&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: Forums&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;
|  | This is Neha Solanki 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>