Set the text size of a button in HTML

Set the text size of a button in HTML

In this post we will give you information about Set the text size of a button in HTML. Hear we will give you detail about Set the text size of a button in HTMLAnd how to use it also give you demo for it if it is necessary.

we are going to learn about how to set the text size of a button in HTML.

Consider, we have the following button element in our HTML:

<button >Google</button>

To set the text size of a button, add the font-size : 20px property to the button CSS class.

Here is an example:

<button >Google</button>

CSS:

.btn{   font-size : 20px;}

In the example above, we have increased the text size of a button to 20px.

or we can add the inline styles to button element using the style attribute in HTML.

<button style="font-size: 20px;">Google</button>

Hope this code and post will helped you for implement Set the text size of a button in HTML. if you need any help or any feedback give it in comment section or you have good idea about this post you can give it comment section. Your comment will help us for help you more and improve us. we will give you this type of more interesting post in featured also so, For more interesting post and code Keep reading our blogs

For More Info See :: laravel And github

We're accepting well-written guest posts and this is a great opportunity to collaborate : Contact US