I have one line of code that won't validate. The line of code via the W3C site is this: <select onchange="location.href=this.options[this.selectedIndex].value">n<option value='/comentarios-para-hi5/100/page/1' selected>1</option>n</select> ...and straight from the PHP function (where the error presumably is) I have this: function jumpTo() { $pageStr = "<select onchange=\"location.href=this.options[this.selectedIndex].value\">n"; for($i = 1; $i <= $this->pageCount(); $i++){ if($this->currentPage == $i) $selected = " selected"; else $selected = ""; $pageStr .= "<option value='".$this->paramStr.$i."'$selected>$i</option>n"; } $pageStr .= "</select>"; return $pageStr; } the 3 W3C error messages: Error Line 231, column 120: character data is not allowed here. You have used character data somewhere it is not permitted to appear. Mistakes that can cause this error include putting text directly in the body of the document without wrapping it in a container element (such as a <p>aragraph</p>) or forgetting to quote an attribute value (where characters such as "%" and "/" are common, but cannot appear without surrounding quotes). ...s.options[this.selectedIndex].value">n<option value='/comentarios-para-hi5/10 Error Line 231, column 178: the name and VI delimiter can be omitted from an attribute specification only if SHORTTAG YES is specified. "VI delimiter" is a technical term for the equal sign. This error message means that the name of an attribute and the equal sign cannot be omitted when specifying an attribute. A common cause for this error message is the use of "Attribute Minimization" in document types where it is not allowed, in XHTML for instance. How to fix: For attributes such as compact, checked or selected, do not write e.g <option selected ... but rather <option selected="selected" ... ...ntarios-para-hi5/100/page/1' selected>1</option>n</select> </div></td> Error Line 231, column 189: character data is not allowed here. ...a-hi5/100/page/1' selected>1</option>n</select> </div></td> Anyone care to take a shot at it? Pleeeeeeeeease...Thanks