Tutorials:

Accessing DOM Elements the Natural Way

You already know CSS. Why learn a new language for DOM manipulation when you can use CSS selectors?

midori allows the use of standard CSS syntax to access DOM elements, and supports most CSS2 and CSS3 selectors regardless of the web browser you are using. There are three ways to work on returned DOM elements. You can check the table below for live results.

Top 5 Cities by Population:
#CityPopulation
in millions
Country
1.Mumbai13.6India
2.Karachi12.1Pakistan
3.Istanbul11.3Turkey
4.Delhi11.3India
5.Sao Paulo10.8Brazil

For more information including the list of supported CSS selectors, you can refer to the documentation entry for midori.get().