I need to get recipe ingredients separatly from tags:

```
    for (int i=23233 ; i<100000; i= i+1000){
         url = "site adress"+ i+"/";
         try {
              document=Jsoup.connect(url).userAgent(ua).timeout(0).get();       
              writeteste(i);
              Thread.sleep(3000);       
         } catch (IOException e1) {
             // TODO Auto-generated catch block
              e1.printStackTrace();
         } catch (InterruptedException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();
         }
    }

```

I am using this method to parse one site:

```
private static void writeteste(int recnum) 
{
     Elements destinys = document.getElementsByClass("recipe-tags-tastes");
     Iterator<Element> ite = destinys.select("a").iterator();       
     int ix=1;   
     while(ite.hasNext()){
     System.out.println(recnum +" ; " + ix+" ; " + ite.next().text() );
     ix++;
}

```

this is the code that i am parsing:

```
<br>
<div class="recipe-tags-tastes"> <div class="gray">     
<strong>Tastes:</strong>    
<a href="site adress">sweet</a> 
&nbsp;  </div> <div class="gray">   
<strong>Tags:</strong>      
<a href="site adress">обед</a>  
&nbsp;      <a href="site adress">ужин</a>  
&nbsp;  </div> </div>
<div class="clear">
</div> 
<br>

```

the output that i have is tastes and tags together, and i need to get tastes, and after that tags:

what i have:
23233 ; 1 ; sweet
23233 ; 2 ; dinner
23233 ; 3 ; supper

here is what i need:

taste:

23233 ; 1 ; sweet

tags:

23233 ; 1 ;supper 

23233 ; 2 ;dinner

what should i write inside jsoup query to get data from this code separately before word "Tags" and after it?