v2.5.2
Giriş yap
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>HTML'de class ve style Niteliği Örneği</title> </head> <body> <a href="#" class="button">Normal Buton</a> <a href="#" class="button button-red">Kırmızı Buton</a> <a href="#" class="button button-green">Yeşil Buton</a> <a href="#" class="button button-blue">Mavi Buton</a> <style> a.button { background-color: #333; color: #fff; display: inline-block; line-height: 50px; padding: 0 15px; border-radius: 3px; text-decoration: none; } a.button.button-red { background-color: red; } a.button.button-blue { background-color: blue; } a.button.button-green { background-color: green; } </style> </body> </html>