Font size button using JavaScript, HTML and PHP


I want to create three buttons on my PHP/HTML page using JavaScript/JQuery by which on pressing respective button I can manage to increase size of text in my button. Also, I want to keep this selection for other content of my website. How can I do that ?

Store the font size value in SESSION or COOKIES.

When you move to another page, then get the value and set the font size again.