Назар Мокринський wrote: > In my code I have part like this: > > <select> > <option value="<">Option</option> > </select> > > But anyway validator says: > > Bad character after <. Probable cause: Unescaped <. Try escaping it > as <. > > UTF-8, HTML5 Can't replicate : here is sample code, validated by direct input. Unclear why I had to wrap <P> around the <SELECT> element, but won't validate without for reasons unrelated to your message. <!DOCTYPE HTML> <HTML> <HEAD> <TITLE>My first HTML document</TITLE> </HEAD> <BODY> <form action="#"> <P> <select> <option value="<">Option</option> </select> </P> </form> </BODY> </HTML> Also validates as HTML 4.01 Strict with the appropriate DOCTYPE. Philip TaylorReceived on Sunday, 5 August 2012 21:37:40 UTC
This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:59:28 UTC