Coderwall
Ruby Python JavaScript Front-End Tools iOS
More Tips
Ruby Python JavaScript Front-End Tools iOS PHP Android .NET Java Jobs
Jobs
Sign In or Up
Last Updated: February 25, 2016
·
599
· carl0svargas

Using Ampersands in Attribute Values

#xhtml
#ampersands
#attribute values

This is invalid in XHTML
http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user.

Correct XHTML way of writing this is as follows
http://my.site.dom/cgi-bin/myscript.pl?class=guest&name=user

#xhtml
#ampersands
#attribute values

Written by Carlos Vargas

Say Thanks
Respond

Related protips

Stop / remove all Docker containers

1.959M
32

Don't use Array.forEach, use for() instead

1.236M
19

Basic Vim commands - For getting started

1.231M
11

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Best #Xhtml Authors
carl0svargas
599
#xhtml
#python
#javascript
Related Tags
#xhtml
#ampersands
#attribute values
Sponsored by
#native_company#
#native_desc#
#native_cta#
Awesome Job
See All Jobs

Post a job for only $299
Thanks to our sponsor
Sponsored by #native_company# — Learn More
#native_title# #native_desc#
#native_cta#
@coderwall
APM product comparisons Contact Privacy Terms

Copyright 2025

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.