Apple Touch icon for websites

Minimalist solution – Recommended A common practice is to create a single 180×180 icon, which is the highest expected resolution, and let the iOS devices scale it down as needed. It is declared with: <link rel=”apple-touch-icon” href=”https://stackoverflow.com/path/to/apple-touch-icon.png”> Exhaustive solution – Not recommended Apple specs specify new sizes for iOS7: 60×60 76×76 120×120 152×152 And also … Read more

How to create a listbox in HTML without allowing multiple selection?

Just use the size attribute: <select name=”sometext” size=”5″> <option>text1</option> <option>text2</option> <option>text3</option> <option>text4</option> <option>text5</option> </select> To clarify, adding the size attribute did not remove the multiple selection. The single selection works because you removed the multiple=”multiple” attribute. Adding the size=”5″ attribute is still a good idea, it means that at least 5 lines must be displayed. … Read more

The reference to entity “foo” must end with the ‘;’ delimiter

The ampersand & is a special character in HTML and XML. If you want to use it as a normal character, you have to encode it correctly. Write &amp; instead of &: src=”https://stackoverflow.com/questions/6483807/…9623&amp;w=180&amp;h=46&amp;style=white&amp;variant=text&amp;loc=en_US” & denotes the start of an encoded entity, such as &lt; for <, or &amp; for &. In your case the parser … Read more