How to fetch the value of radio button by clicking on it?

Continuing the discussion from How to find whether radio button or checkbox is clicked or not?:

For example I just click on radio button of hyper text Markup Language but how to get that value on a variable by just clicking on radio button

@Himani_Singh You can use get text activity

thank you for the reply but if m using to that is giving me whole multiple choice options. but i want only hyper text markup language when i m clicking on its radio button

@Himani_Singh Can you share url