Toggle navigation
☰
Home
HTML
CSS
Scripting
Database
<!DOCTYPE html> <title>Example</title> <style> img:nth-of-type(odd) { border: 1em solid orange; } img:nth-of-type(even) { border: 1em solid limegreen; } </style> <p>Three images:</p> <img src="/pix/samples/8s.jpg" alt="Sample image"> <img src="/pix/samples/9s.jpg" alt="Sample image"> <img src="/pix/samples/10s.jpg" alt="Sample image"> <p>Three images:</p> <img src="/pix/samples/11s.jpg" alt="Sample image"> <img src="/pix/samples/8s.jpg" alt="Sample image"> <img src="/pix/samples/9s.jpg" alt="Sample image"> <p>Three images:</p> <img src="/pix/samples/10s.jpg" alt="Sample image"> <img src="/pix/samples/11s.jpg" alt="Sample image"> <img src="/pix/samples/8s.jpg" alt="Sample image"> <p>Three images:</p> <img src="/pix/samples/9s.jpg" alt="Sample image"> <img src="/pix/samples/10s.jpg" alt="Sample image"> <img src="/pix/samples/11s.jpg" alt="Sample image">