Exécuter
❯
Exécuter le code
Ctrl+Alt+R
Enregistrer le code
Ctrl+Alt+A
Changer d'orientation
Ctrl+Alt+O
Changer de thème
Ctrl+Alt+D
<!DOCTYPE html> <html> <head> <style> img { opacité: 0.5; } </style> </head> <body> <h2>La propriété opacity</h2> <p>La propriété opacity spécifie l'opacité d'un élément. Plus la valeur est basse, plus c'est transparent :</p> <p>Image avec une opacité de 50 % :</p> <img src="img_forest.jpg" alt="Forest" width="170" height="100"> </body> </html>