Morpheusweb.it - Risorse per webmaster: script, ASP.NET, C#, Visual Basic .Net, tutorial, asp, javascript, css, php, html, java, ADO, VBScript, forms, frames, Active Server Pages, Dynamic HTML, database, gratis per webmaster e webdesigner

tag <style>

tag <style>


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


Stampa la pagina


 

Inizio pagina

risorse per webmaster