Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Konrad Pilch
Konrad Pilch
2,435 Points

Places in HTML

HI, im just searching for a HTML cities in my country , UK. But i cant find any . Its like when you search soemthing and you want to get the location, you can just click and select one. Im looking for it but i cant find it in HTML .

Do anyone know how can i find this info ?

I'm not really sure I understand what you're asking. HTML cities?

Konrad Pilch
Konrad Pilch
2,435 Points

HI what i mean is to have a City like if we all live in USA right? theres like California, Washington and more .. so i want to find a code that somebody has prewritten , all of them in html like with linkks <li><a href="">California</a></li> and all the cities like this but in UK. Like Nottingham , Leicester, London, Manchester etc..

Basiclay this http://lab.artlung.com/50states/ but for mine cities : p

Konrad Pilch
Konrad Pilch
2,435 Points

Thank you very much! I was looking for it quite a bit i believe i used wrong keywords : p

1 Answer

Grace Faires
Grace Faires
5,435 Points

I'm not entirely sure i understand your question, but are you asking for a drop down menu/search box to select a city? and that you want it to be HTML only?

unfortunately, if you're wanting searchable content, that's not possible only with the use of HTML, but I found this:

http://www.cssflow.com/snippets/search-dropdown/demo

which provides you with both the CSS and HTML source code, which you could use as a starting point.