HTML and CSS Reference
In-Depth Information
Create rollover effects
1.
Open
layout.css
.
2.
Add a new line with
hover
formatting for the
<a>
tag:
a:hover {font-weight:bold}
3.
Save
layout.css
.
4.
Open
advlayout.html
.
5.
Enclose the word
Laptops
in
<a>
tags:
<a href=”laptops.html”>Laptops</a>