- foi de stil
- regulă CSS: – proprietate CSS: valoare CSS;
- comentariu /* comentariu */ – ctrl + 2, 3; ctrl + /
- selector p { color: red; }
1) Stiluri inline <input style = “background: red;”>
2) Foi de stil existente în documentul curent <style> input { background: green; } </style>
3) Foi de stil încărcate din fișiere externe
stil.css input { background: blue; } fisier.html <link href = “stil.css” rel = “stylesheet>