HTML set hyperlink font color and click-After font color

Source: Internet
Author: User

1 <!DOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd ">2 <HTMLxmlns= "http://www.w3.org/1999/xhtml">3 <Head>4 <Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8" />5 <title>Untitled Document</title>6 <HTML>7 <Head>8 <styletype= "Text/css">9 A.one:link{Color:#ff0000}Ten  One A.one:hover{Color:#F00;font-size:150%} A  - A.two:link{Color:#ff0000} - a.two:visited{Color:#0000ff} the A.two:hover{font-size:150%} -  - A.three:link{Color:#ff0000} - a.three:visited{Color:#0000ff} + A.three:hover{background:#66ff66;font-size:150%} -  + A.four:link{Color:#ff0000} A a.four:visited{Color:#0000ff} at A.four:hover{font-family:monospace} -  - A.five:link{Color:#ff0000;text-decoration:None} - a.five:visited{Color:#0000ff;text-decoration:None} - A.five:hover{text-decoration:Underline} - </style> in </Head> -  to <Body> + <P>Please move the mouse over these links to see the effect:</P> -  the <P><b><aclass= "One"href= "Http://www.baidu.com"Target= "_blank">This link changes color</a></b></P> * <P><b><aclass= "both"href= "Http://www.baidu.com"Target= "_blank">This link changes the font size</a></b></P> $ <P><b><aclass= "three"href= "Http://www.baidu.com"Target= "_blank">This link changes the background color</a></b></P>Panax Notoginseng <P><b><aclass= "Four"href= "Http://www.baidu.com"Target= "_blank">This link changes the font family</a></b></P> - <P><b><aclass= "Five"href= "Http://www.baidu.com"Target= "_blank">This link changes the text decoration</a></b></P> the </Body> +  A </HTML>

HTML set hyperlink font color and click-After font color

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.