增加超链接文本html的字体大小 [英] increase font size of hyperlink text html
问题描述
我正在使用 href 的网络应用程序。但是,与页面相比,它的默认字体太小。所以我想增加字体的大小。
我的输出页面如下所示:
我已经尝试了锚标记的字体大小,但它没有显示任何字体标记后的效果。
我试过的代码是:
< font size =100px>< a href =selectTopic?htmlstyle =text-decoration :none> HTML 5< / a>< / font>
那么我怎样才能改变字体大小?
您可以这样做:
a {font-size:100px }
请避免使用字体标记,因为它已被弃用。改用上面的CSS代替。你可以给你的锚点特定的类并为它们应用任何样式。
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:
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?
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.
这篇关于增加超链接文本html的字体大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!