Il tag <style> permette di inserire gli stili css nella pagina
Esempio
<html>
<head>
<title>Morpheusweb.it</title>
<style type="text/css">
body {background-color:#ffffcc ;color: #000000;}
a {color: #0000ff; text-decoration: underline overline}
</style>
</head>
<body>
</body>
</html>
Attributi
| Attributo |
Descrizione |
| type |
type="text/css" è il content type |
| media |
Il tipo di media a cui è destinato lo stile
Può assumere i seguenti valori:
- screen
- tty
- tv
- projection
- handheld
- print
- braille
- aural
- all |
| lang |
la lingua |
| title |
il titolo |