Added option to select span as suggested by @agnogueira