On Mon, 24 Jan 2011, Christian Snodgrass wrote:

One word : semantics.

It all has to do with what the tags mean to the computer. For example, you
can write <div class="code"> to specify that the markup in that div is code
and should be displayed as such. However, to the browser, the means nothing
more than <div class="happyfuntime">. They're both just divs.

Now, if you use the new code element instead, that tells the browser it is
code.

   There's a new code element? How does it differ from the old one?

--
   Chris F.A. Johnson, <http://cfajohnson.com/>
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: memberh...@webstandardsgroup.org
*******************************************************************

Reply via email to