[HTML] [tag] <style>

<style> (tag HTML) definisce, generalmente annidato nel tag HTML <head>, gli stili CSS del documento ipermerdiale.

attributi

speciali

Caricamento…

Caricamento…

Caricamento…

globali
Caricamento…

scheda tecnica

– Contenuto: metadati
– Tipo: invisibile
– Intefraccia DOM: HTMLStyleElement
– Supporto browser: totale

Sintassi

<style>
  [oggetto>
</style>

Default CSS

style {
  display: none;
}

Esempio

<head>
<style>
.demo_style {color:blue;}
</style>
</head>
<p class="demo_style">Testo blu</p>

Testo blu

html, tag html

Related Articles

0 Comment

Rispondi