Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 941955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:11:45+00:00 2026-05-15T22:11:45+00:00

So instead doing it using css: <style type=text/css> a:visited { color: red; } </style>

  • 0

So instead doing it using css:

<style type="text/css">
a:visited {
   color: red;
}
</style>

Could it be done using inline code. Something like this doesn’t work:

<a href="http://google.com" style='a:visited:color:red'>Google.com</a>
  • 1 1 Answer
  • 2 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T22:11:46+00:00Added an answer on May 15, 2026 at 10:11 pm

    You can’t do this, the specification (CSS2 here) covers it briefly here:

    Neither pseudo-elements nor pseudo-classes appear in the document source or document tree.

    :visited along with the others modifiers are all pseudo-classes, and there was never a standard syntax setup to do what you’re trying. Honestly this is the first time I’ve ever seen it requested, so I don’t think it’ll be added to the specification anytime soon…sorry that answer sucks, but it is what it is 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The following code works properly <!DOCTYPE html> <html> <head> <title>Working</title> <style type=text/css> html {
can cookies be blocked using a page directive instead of doing it programmatic?
Instead of having to type tmux every time, how could I have tmux always
I have two style sheets for one page. <link rel=stylesheet href=css/lsharecomplete_mob.css media=handheld type=text/css />
Is it possible to instead of doing this: person.Walking -= person_Walking1; person.Walking -= person_Walking2;
Suppose I have a script: my_script.sh Instead of doing ./my_script.sh I want to do
What am I doing wrong that an exception is thrown instead of showing a
I'm currently using PHP to include multiple css (or js) files into a single
I'm trying to add pipes between a set of links using css :after to
http://jsfiddle.net/motocomdigital/uTV5k/18/ I've updated using toggle instead on click - though still can't get smooth

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.