Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I style a HTML link without CSS?

I need to style links for a Blackberry browser that has disabled CSS.

The following is what I try to achieve:

<style type="text/css">
a.hover { 
  border:0;
} 
a {
  text-decoration: none;
}
</style>

Is it even possible, just using html?

like image 221
Pierre Spring Avatar asked Nov 18 '25 22:11

Pierre Spring


1 Answers

You can only set the color.

<body link="XXX" alink="YYY" vlink="ZZZ"> 

XXX being the color used for links, YYY the color when mouse hovers the link and ZZZ the color for already visited links. Color can be given in hex notation just like with stylesheets

#AABBCC

You cannot set whether links are underlined or not, or have a border or not. This is totally up to the browser... unless these devices have some special, secret non-standard HTML.

like image 166
Mecki Avatar answered Nov 21 '25 16:11

Mecki



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!