Aniket Aniket - 3 years ago 222
CSS Question

increase font size of hyperlink text html

I am working on web application where I have taken href. But the default font of it is too small when comparing to the page. So I want to increase the size of the font.

My output page look like below:

enter image description here

I have tried by font size for anchor tag but it doesn't show any effect after the font tag.

Code I have tried is:

<font size="100px"><a href="selectTopic?html" style="text-decoration: none">HTML 5</a></font>

So how can I change the font size?

Eli Eli
Answer Source

You can do like this:

a {font-size: 100px}

Try avoid using font tag because it's deprecated. Use CSS like above instead. You can give your anchors specific class and apply any style for them.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download