Re: ID/Class Names beginning with numbers

ACJ <[email protected]> Wed, 27 Nov 2013 17:26:38 +0100
Newsgroups gmane.comp.web.html.general
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------040205070701040908080104
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Thomas BAYER - Web Alliance schreef op 27-11-2013 16:45:
>
> Hi.
>
> I know my question may sound stupid or might have been answered tons 
> of times, but here it is : why on earth can't a ID/Class name begin 
> with a number ?
>
> Wouldn't it be a huge enhancement for web developers if it was possible ?
>
>

I'm pretty sure they can in HTML5+.

Greetings,

Alexander

--------------040205070701040908080104
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Thomas BAYER - Web Alliance schreef op 27-11-2013 16:45:<br>
    <blockquote
cite="mid:18B45E1EEFCDC348BC5AB19D5EFBEF93011EF4C5EC@ArenasMail.weballiance.lan"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Texte de bulles Car";
	margin:0cm;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";
	color:#1F497D;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.TextedebullesCar
	{mso-style-name:"Texte de bulles Car";
	mso-style-priority:99;
	mso-style-link:"Texte de bulles";
	font-family:"Tahoma","sans-serif";
	color:#1F497D;
	mso-fareast-language:FR;}
..MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";
	mso-fareast-language:EN-US;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Hi.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US"><o:p>&nbsp;</o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">I
            know my question may sound stupid or might have been
            answered tons of times, but here it is : why on earth can't
            a ID/Class name begin with a number ?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D" lang="EN-US">Wouldn't
            it be a huge enhancement for web developers if it was
            possible ?<o:p></o:p></span></p>
        <br>
      </div>
    </blockquote>
    <br>
    I'm pretty sure they can in HTML5+.<br>
    <br>
    Greetings,<br>
    <br>
    Alexander<br>
  </body>
</html>

--------------040205070701040908080104--