Meine a: Link und a: besuchte Code in CSS funktioniert nicht. Ich bin nicht sicher, warum und es ist ein bisschen komischa: link und a: besuchte funktioniert nicht ...?
Auch ist es tatsächlich das Gegenteil von dem, was ich will. Vor dem Besuch ist der Link violett und danach ist es gleich.
body {
background-color: lightgoldenrodyellow;
font-family: century gothic;
}
header {
display: flex;
justify-content: space-between;
width: 100%;
white-space: nowrap;
}
h1 {
display: inline-block;
font-size: 30px;
text-decoration: underline;
}
nav {
display: inline-block;
}
ul {
color: black;
}
li {
display: inline;
font-size: 30px;
margin-left: 10px;
margin-right: 10px;
}
a:link {
color: black;
}
a:visited {
color: blueviolet;
}
footer {
text-align: center;
margin: 10px;
}
#image1,
#image2 {
border-radius: 6px;
display: block;
margin: auto;
margin-bottom: 80px;
width: 70%;
}
p {
text-align-last: center;
font-family: helvetica, lucida grande, sans-serif;
font-size: 30px;
}
<header>
<nav>
<ul>
<li><a href="#">Home</a>
</li>
<li><a href="#">About</a>
</li>
<li><a href="#">Blog</a>
</li>
<li><a href="#">Event</a>
</li>
<li><a href="#">Gallery</a>
</li>
<li><a href="#">Contact</a>
</li>
</ul>
</nav>
</header>
<p>Your Home Show Your Vision</p>
<img src="p.d.jpg" alt="Your Perspective" id="image1" />
<img src="e7179db2d394aab60672c37700e15612.jpg" alt="Your Perspective" id="image2" />
<footer>Copyright © 2017</footer>
Alle Links zum aktuellen Dokument beziehen kann besichtigt werden betrachtet, da sie auf das aktuelle Dokument beziehen und die Sie besucht haben dieses Dokument. – AlexP
@Naila Bitte nicht für Upvotes und/oder akzeptieren in den Kommentaren. Das OP wird über alle Antworten informiert und muss nicht erinnert werden, und es kommt dem Rest von uns als Lärm entgegen. – j08691