<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Max Design &#187; type</title>
	<atom:link href="http://www.maxdesign.com.au/tag/type/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.maxdesign.com.au</link>
	<description></description>
	<lastBuildDate>Thu, 02 Feb 2012 01:08:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.5</generator>
		<item>
		<title>Valid replacement for ol type=&#8221;a&#8221;</title>
		<link>http://www.maxdesign.com.au/2008/09/16/valid-replacement-for-ol-type/</link>
		<comments>http://www.maxdesign.com.au/2008/09/16/valid-replacement-for-ol-type/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 02:06:54 +0000</pubDate>
		<dc:creator>Russ</dc:creator>
				<category><![CDATA[Articles]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Q and A]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Web standards]]></category>
		<category><![CDATA[list]]></category>
		<category><![CDATA[type]]></category>
		<category><![CDATA[valid]]></category>

		<guid isPermaLink="false">http://www.maxdesign.com.au/?p=428</guid>
		<description><![CDATA[I was recently sent this question: I have used &#60;ol type=&#8221;a&#8221;&#62; in my markup. The W3C validator tells me that this is invalid. How can I change the &#8220;type&#8221; of an ordered list&#8217;s the list without using this attribute? Answer: The type attribute associated with the &#60;ul&#62; , &#60;ol&#62; and &#60;li&#62; has been deprecated as [...]]]></description>
			<content:encoded><![CDATA[<p>
	I was recently sent this question:
</p>
<blockquote>
<p>
		I have used &lt;ol type=&#8221;a&#8221;&gt; in my markup. The W3C validator tells me that this is invalid. How can I change the &#8220;type&#8221; of an ordered list&#8217;s the list without using this attribute?
	</p>
</blockquote>
<h4>
	Answer:<br />
</h4>
<p>
	The type attribute associated with the &lt;ul&gt; , &lt;ol&gt; and &lt;li&gt; has been <a href="http://www.w3.org/TR/html401/struct/lists.html#h-10.2">deprecated </a> as it is considered style information. This means it should be achieved using CSS rather than markup.
</p>
<p>
	Ideally, authors should use the <a href="http://www.w3.org/TR/CSS2/generate.html#lists">list-style-type property</a> which can specify a wide range of options including:
</p>
<ul>
<li>disc</li>
<li>circle</li>
<li>square</li>
<li>decimal</li>
<li>decimal-leading-zero</li>
<li>lower-roman</li>
<li>upper-roman</li>
<li>lower-greek</li>
<li>lower-alpha</li>
<li>lower-latin</li>
<li>upper-alpha</li>
<li>upper-latin</li>
<li>hebrew</li>
<li>armenian</li>
<li>georgian</li>
<li>cjk-ideographic</li>
<li>hiragana</li>
<li>katakana</li>
<li>hiragana-iroha</li>
<li>katakana-iroha </li>
</ul>
<p>
	So, the preferred markup would be something like:
</p>
<h4>
	HTML:<br />
</h4>
<p class="codesample">
	<code> &lt;ol <del>class="lower-alpha"</del> <strong>class="class-name"</strong>&gt; </code>
</p>
<h4>
	CSS:<br />
</h4>
<p class="codesample">
	<code> .class-name { <strong>list-style-type: lower-alpha;</strong> } </code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.maxdesign.com.au/2008/09/16/valid-replacement-for-ol-type/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>

