<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=HTML%2FCSS%2FStyle_Basics%2FClass_Selector</id>
		<title>HTML/CSS/Style Basics/Class Selector - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://wbex.ru/index.php?action=history&amp;feed=atom&amp;title=HTML%2FCSS%2FStyle_Basics%2FClass_Selector"/>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=HTML/CSS/Style_Basics/Class_Selector&amp;action=history"/>
		<updated>2026-04-04T18:51:41Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>http://wbex.ru/index.php?title=HTML/CSS/Style_Basics/Class_Selector&amp;diff=5938&amp;oldid=prev</id>
		<title> в 09:21, 26 мая 2010</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=HTML/CSS/Style_Basics/Class_Selector&amp;diff=5938&amp;oldid=prev"/>
				<updated>2010-05-26T09:21:00Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Предыдущая&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Версия 09:21, 26 мая 2010&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;text-align: center;&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
			</entry>

	<entry>
		<id>http://wbex.ru/index.php?title=HTML/CSS/Style_Basics/Class_Selector&amp;diff=5939&amp;oldid=prev</id>
		<title>Admin: 1 версия</title>
		<link rel="alternate" type="text/html" href="http://wbex.ru/index.php?title=HTML/CSS/Style_Basics/Class_Selector&amp;diff=5939&amp;oldid=prev"/>
				<updated>2010-05-26T08:17:25Z</updated>
		
		<summary type="html">&lt;p&gt;1 версия&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Add style to both ul and li==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
ul, li {&lt;br /&gt;
 display: inline;&lt;br /&gt;
 margin: 0;&lt;br /&gt;
 padding: 0;&lt;br /&gt;
 font-weight: bold; &lt;br /&gt;
 font-style: italic;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;h3&amp;gt;&lt;br /&gt;
   Table of Contents&lt;br /&gt;
  &amp;lt;/h3&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;&lt;br /&gt;
   sections:&lt;br /&gt;
  &amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;ul&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;D&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;P&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;B&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li&amp;gt;W&amp;lt;/li&amp;gt;&lt;br /&gt;
   &amp;lt;li class=&amp;quot;last&amp;quot;&amp;gt;Make One&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;/ul&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;&lt;br /&gt;
   If there are any objections to how these sections are divided, &lt;br /&gt;
  please let &amp;lt;a href=&amp;quot;n@h.ru&amp;quot;&amp;gt;N&amp;lt;/a&amp;gt; know about &lt;br /&gt;
  it.&lt;br /&gt;
  &amp;lt;/p&amp;gt;&lt;br /&gt;
  &lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Anchor with class name==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;?xml version = &amp;quot;1.0&amp;quot;?&amp;gt;&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
   &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns = &amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
   &amp;lt;head&amp;gt;&lt;br /&gt;
      &amp;lt;style type = &amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
         a.nodec  { text-decoration: none }&lt;br /&gt;
&lt;br /&gt;
      &amp;lt;/style&amp;gt;&lt;br /&gt;
   &amp;lt;/head&amp;gt;&lt;br /&gt;
   &amp;lt;body&amp;gt;&lt;br /&gt;
      &amp;lt;h1&amp;gt;Shopping list for &amp;lt;em&amp;gt;Monday&amp;lt;/em&amp;gt;:&amp;lt;/h1&amp;gt;&lt;br /&gt;
      &amp;lt;ul&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;M&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;B&lt;br /&gt;
            &amp;lt;ul&amp;gt;&lt;br /&gt;
               &amp;lt;li&amp;gt;W&amp;lt;/li&amp;gt;&lt;br /&gt;
               &amp;lt;li&amp;gt;R&amp;lt;/li&amp;gt;&lt;br /&gt;
               &amp;lt;li&amp;gt;W&amp;lt;/li&amp;gt;&lt;br /&gt;
            &amp;lt;/ul&amp;gt;&lt;br /&gt;
         &amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;R&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;P&amp;lt;/li&amp;gt;&lt;br /&gt;
         &amp;lt;li&amp;gt;P&amp;lt;em&amp;gt;this is a test. &amp;lt;/em&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
      &amp;lt;/ul&amp;gt;&lt;br /&gt;
      &amp;lt;p&amp;gt;&amp;lt;a class = &amp;quot;nodec&amp;quot; href = &amp;quot;http://www.wbex.ru&amp;quot;&amp;gt;&lt;br /&gt;
      this is a test. &amp;lt;/a&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
   &amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==assign multiple classes to an element by putting multiple class names in an element&amp;quot;s class attribute==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.paragraph2{&lt;br /&gt;
  margin-bottom:40px;&lt;br /&gt;
}&lt;br /&gt;
.colorSetting{&lt;br /&gt;
  color:#ccc&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;h2 class=&amp;quot;double-space&amp;quot;&amp;gt;This is a header&lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  &amp;lt;/h2&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;paragraph2 colorSetting&amp;quot;&amp;gt;This is a text.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;This is a text.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Class assigns a user-defined semantic meaning to an element==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.paragraph2{&lt;br /&gt;
  margin-bottom:40px;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;h2 class=&amp;quot;double-space&amp;quot;&amp;gt;This is a header&lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  &amp;lt;/h2&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;paragraph2&amp;quot;&amp;gt;This is a text.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;This is a text.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==class for a tag with dot operator==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
p.normal {&lt;br /&gt;
 padding: 0;&lt;br /&gt;
 margin-left: 0;&lt;br /&gt;
 margin-right: 0;&lt;br /&gt;
}&lt;br /&gt;
p.large {&lt;br /&gt;
 margin-left: 33%;&lt;br /&gt;
 margin-right: 5%;&lt;br /&gt;
}&lt;br /&gt;
p.medium {&lt;br /&gt;
 margin-left: 15%;&lt;br /&gt;
 margin-right: 33%;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;h1&amp;gt;The heading for this page&amp;lt;/h1&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;normal&amp;quot;&amp;gt;normal class.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;large&amp;quot;&amp;gt;large class.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;medium &amp;quot;&amp;gt;medium class&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==class name + nested tag names==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;Set text indent to 37%&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
p {&lt;br /&gt;
 text-indent: 37%;&lt;br /&gt;
 line-height: 1em;&lt;br /&gt;
}&lt;br /&gt;
p span.initcap {&lt;br /&gt;
 font-size: 6em;&lt;br /&gt;
 line-height: 0.6em;&lt;br /&gt;
 font-weight: bold;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;initcap&amp;quot;&amp;gt;O&amp;lt;/span&amp;gt;nline. This is test. This is test. &lt;br /&gt;
  This is test. This is test. This is test. This is test. This is test. &lt;br /&gt;
  This is test. This is test. This is test. This is test. This is test. &lt;br /&gt;
  This is test. This is test. This is test. This is test. This is test. &lt;br /&gt;
  &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Combined class==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
* .button {&lt;br /&gt;
  width: 175px;&lt;br /&gt;
  padding: 3px 10px;&lt;br /&gt;
  margin: 20px 0;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin-left: 50px;&lt;br /&gt;
  line-height: normal;&lt;br /&gt;
}&lt;br /&gt;
* .button.rounded {&lt;br /&gt;
  color: darkblue;&lt;br /&gt;
  background-color: white;&lt;br /&gt;
  line-height: 45px;&lt;br /&gt;
  margin-top: 30px;&lt;br /&gt;
  background: url(&amp;quot;http://www.wbex.ru/style/logo.png&amp;quot;) no-repeat center&lt;br /&gt;
    center;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;h1&amp;gt;Subclass Selector&amp;lt;/h1&amp;gt; &lt;br /&gt;
&amp;lt;div&amp;gt; &lt;br /&gt;
&amp;lt;p class=&amp;quot;button rounded&amp;quot;&amp;gt;Rounded&amp;lt;/p&amp;gt; &lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt; &lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Combine style together==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
.copytext1, .copytext2 {&lt;br /&gt;
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;&lt;br /&gt;
    font-weight: normal;&lt;br /&gt;
    font-size: 11px;&lt;br /&gt;
}&lt;br /&gt;
.color1 {color:red}&lt;br /&gt;
.color2 {color:blue}&lt;br /&gt;
.color3 {color:green}&lt;br /&gt;
.color4 {color:pink}&lt;br /&gt;
.color5 {color:black}&lt;br /&gt;
.copytext2 {font-weight:bold;}&lt;br /&gt;
p {margin:10px 0;}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;h1&amp;gt;Multiple classes example&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext1 color1&amp;quot;&amp;gt;Some text that is red&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext2 color1&amp;quot;&amp;gt;Some text that is bold red&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext1 color2&amp;quot;&amp;gt;Some text that is blue&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext2 color2&amp;quot;&amp;gt;Some text that is bold blue&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext1 color3&amp;quot;&amp;gt;Some text that is green&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext2 color3&amp;quot;&amp;gt;Some text that is bold green&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext1 color4&amp;quot;&amp;gt;Some text that is pink&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext2 color4&amp;quot;&amp;gt;Some text that is bold pink&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext1 color5&amp;quot;&amp;gt;Some text that is black&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p class=&amp;quot;copytext2 color5&amp;quot;&amp;gt;Some text that is bold black&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Create a class inside blockquote==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
blockquote .source {&lt;br /&gt;
 text-align: right;&lt;br /&gt;
 font-style: normal;&lt;br /&gt;
 margin-right: 2em;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;One&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;blockquote&amp;gt;&lt;br /&gt;
    &amp;lt;p&amp;gt;Two&amp;lt;/p&amp;gt;&lt;br /&gt;
    &amp;lt;div class=&amp;quot;source&amp;quot;&amp;gt;&lt;br /&gt;
      Three&lt;br /&gt;
    &amp;lt;/div&amp;gt;&lt;br /&gt;
  &amp;lt;/blockquote&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;Four&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==init capital==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;init capital&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
p .initcap {&lt;br /&gt;
 font-size: 1.2em;&lt;br /&gt;
 background-color: black;&lt;br /&gt;
 color: white; &lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;&amp;lt;span class=&amp;quot;initcap&amp;quot;&amp;gt;O&amp;lt;/span&amp;gt;nline. This is a test. This is a test. &lt;br /&gt;
  This is a test. This is a test. This is a test. This is a test. This is a test. &lt;br /&gt;
  This is a test. This is a test. This is a test. This is a test. This is a test. &amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Specify two attributes in class==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Transitional//EN&amp;quot; &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;Untitled Document&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;meta http-equiv=&amp;quot;Content-Type&amp;quot; content=&amp;quot;text/html; charset=iso-8859-1&amp;quot; /&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
ul.rtl {&lt;br /&gt;
  direction: rtl;  &lt;br /&gt;
}&lt;br /&gt;
.t {text-align:left;}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;ul class=&amp;quot;rtl t&amp;quot;&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Hello&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Hello hello&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Hello Hi&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Hello Hello&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Hello HI&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Hello Hello&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Hello Hi&amp;lt;/li&amp;gt;&lt;br /&gt;
  &amp;lt;li&amp;gt;Hello&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;/ul&amp;gt;&lt;br /&gt;
&amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Style for HTML tag in a DIV with class name==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
p.hanging {&lt;br /&gt;
 text-indent: -5em;&lt;br /&gt;
 margin-left: 5em;&lt;br /&gt;
}&lt;br /&gt;
#content p.hanging {&lt;br /&gt;
 text-indent: -60px;&lt;br /&gt;
 margin: 0 0 0 60px;&lt;br /&gt;
 padding: 0;&lt;br /&gt;
}&lt;br /&gt;
#content h3 {&lt;br /&gt;
 text-indent: -60px;&lt;br /&gt;
 margin: 0 0 0 60px;&lt;br /&gt;
 padding: 0;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;div id=&amp;quot;content&amp;quot;&amp;gt;&lt;br /&gt;
       &amp;lt;h3&amp;gt;Once more time with feeling&amp;lt;/h3&amp;gt;&lt;br /&gt;
       &amp;lt;p class=&amp;quot;hanging&amp;quot;&amp;gt;handing;&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;/div&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Subclass Selector==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
* .button {&lt;br /&gt;
  width: 175px;&lt;br /&gt;
  padding: 3px 10px;&lt;br /&gt;
  margin: 20px 0;&lt;br /&gt;
  text-align: center;&lt;br /&gt;
  font-weight: bold;&lt;br /&gt;
  margin-left: 50px;&lt;br /&gt;
  line-height: normal;&lt;br /&gt;
}&lt;br /&gt;
* .button.square {&lt;br /&gt;
  color: darkblue;&lt;br /&gt;
  background-color: #ccc;&lt;br /&gt;
  border-left: 1px solid dimgray;&lt;br /&gt;
  border-right: 2px solid black;&lt;br /&gt;
  border-top: 1px solid dimgray;&lt;br /&gt;
  border-bottom: 2px solid black;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
&amp;lt;h1&amp;gt;Subclass Selector&amp;lt;/h1&amp;gt; &lt;br /&gt;
&amp;lt;div&amp;gt; &lt;br /&gt;
&amp;lt;p class=&amp;quot;button square&amp;quot;&amp;gt;Square&amp;lt;/p&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/div&amp;gt; &lt;br /&gt;
&lt;br /&gt;
&amp;lt;/body&amp;gt; &lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==To style the few paragraphs belonging to the double-space class with a bottom margin of 2 ems using *.double-space{margin-bottom:2em;}.==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
  &amp;lt;!-- start source code --&amp;gt;&lt;br /&gt;
   &lt;br /&gt;
    &amp;lt;source lang=&amp;quot;html4strict&amp;quot;&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!DOCTYPE html PUBLIC &amp;quot;-//W3C//DTD XHTML 1.0 Strict//EN&amp;quot;&lt;br /&gt;
  &amp;quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;html xmlns=&amp;quot;http://www.w3.org/1999/xhtml&amp;quot;&amp;gt;&lt;br /&gt;
&amp;lt;head&amp;gt;&lt;br /&gt;
&amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;br /&gt;
&amp;lt;style type=&amp;quot;text/css&amp;quot;&amp;gt;&lt;br /&gt;
*.double-space{&lt;br /&gt;
  margin-bottom:2em;&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/style&amp;gt;&lt;br /&gt;
&amp;lt;/head&amp;gt;&lt;br /&gt;
&amp;lt;body&amp;gt;&lt;br /&gt;
  &amp;lt;h2 class=&amp;quot;double-space&amp;quot;&amp;gt;This is a header&lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  this is a test. this is a test. &lt;br /&gt;
  &amp;lt;/h2&amp;gt;&lt;br /&gt;
  &amp;lt;p class=&amp;quot;double-space&amp;quot;&amp;gt;This is a text.&amp;lt;/p&amp;gt;&lt;br /&gt;
  &amp;lt;p&amp;gt;This is a text.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;/body&amp;gt;&lt;br /&gt;
&amp;lt;/html&amp;gt;&lt;br /&gt;
 &amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>	</entry>

	</feed>