WordPress.org

Ready to get started?Download WordPress

Forums

Valid XHTML Question... (3 posts)

  1. edreams
    Member
    Posted 9 years ago #

    How do you make scripts valid???
    I got this error
    The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.
    Typical values for type are type="text/css" for <style> and type="text/javascript" for <script>.
    Where do I put the "type="text/css" at???
    Thanks!

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Try this:
    <script type="text/javascript" src="
    at the start of line 114 instead of what you have.

  3. edreams
    Member
    Posted 9 years ago #

    Thank you so much :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.