Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

there is no attribute "type"

Status
Not open for further replies.

ushtabalakh

Programmer
Jun 4, 2007
132
Hey

I'm trying to use Alexa.com's script on my website, but w3.org gives an error to the script that alexa.com provides

Here is the line
Code:
<SCRIPT  type="text/javascript"  src="[URL unfurl="true"]http://xslt.alexa.com/site_stats/js/t/b?url=www.blabla.com"></SCRIPT>[/URL]

Tese are the three errors that w3.org's validator finds in my page

"there is no attribute "type".
<center><SCRIPT type="text/javascript" src="
"Line 228, Column 48: there is no attribute "src".
…<SCRIPT type="text/javascript" src="
"element "SCRIPT" undefined.
…site_stats/js/t/b?url=
What do I need to do in order to fix this issue, I'm validating with doctype:XHTML 1.0 Transitional
 
I realize the problem is that SCRIPT should be written in lowe cases, that's all.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top