Jump to content

Problem with Validating html/php inside javascript


Rifts

Recommended Posts

Hey everyone,

 

trying to get my site to validate as XHTML 1.0 Transitional.

 

Getting this problem have no idea how I can fix it.

 

 document type does not allow element "b" here

<script type="text/javascript">

var test=new Array();
  test[0]='<b><u><?= $title2;?></u></b><br>';

 

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.