title: HTML5 Drop down with list
body: <p>im currently working on bringing a website up to date. Iv taken the code from one of the old pages and put it in the new website. It works but dosnt do so when when its being validated by w3c.</p>
  
  <p>When I try and validate the code I get this error : Attribute rel not allowed on element option at this point.</p>
  
  <p>The new website is being done in HTML5.</p>
  
  <p>Is their an alternative way of doing this with HTML5?</p>
  
  <p>Iv included some images to show what supposed to happen and a link to a page with the original code .</p>
  
  <p>This images shows the drop down box</p>
  
  <p><img src="https://i.stack.imgur.com/B7fyA.jpg" alt="Figure 1 . Options in the drop down box"></p>
  
  <p>This image shows the result of selecting somthing</p>
  
  <p><img src="https://i.stack.imgur.com/gdQsg.jpg" alt="enter image description here"></p>
  
  <p>The code can be seen here if you right click an view source : <a href="http://mk18.comoj.com/Stackoverflow.htm" rel="nofollow noreferrer">enter link description here</a></p>