Title: Valid XHTML Question&#8230;
Last modified: August 18, 2016

---

# Valid XHTML Question…

 *  [edreams](https://wordpress.org/support/users/edreams/)
 * (@edreams)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-question/)
 * 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!

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Mark (podz)](https://wordpress.org/support/users/podz/)
 * (@podz)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-question/#post-88452)
 * Try this:
    `<script type="text/javascript" src="` at the start of line 114 instead
   of what you have.
 *  Thread Starter [edreams](https://wordpress.org/support/users/edreams/)
 * (@edreams)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-question/#post-88454)
 * Thank you so much 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Valid XHTML Question…’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [edreams](https://wordpress.org/support/users/edreams/)
 * Last activity: [21 years, 9 months ago](https://wordpress.org/support/topic/valid-xhtml-question/#post-88454)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
