
CSS-comandi
<h1 style="font-size:24pt; font-family:arial; color:red; background:lightgreen; text-align:center;">
<style type="text/css">
.p1{
width:400px;
height:200px;
border-bottom/top/left/right:solid/dotted/dashed black 5px;
background:lightyellow;
font-family:arial;
text-align:justify;
font-size:10pt;
color:red;
padding-left/right/bottom/left:50px;
line-height:200px;
margin-left/right/bottom/left:45%;
position:absolute/relative;
top/left/right/bottom:50%;
}
</style>
.p1-->class=”p1”
#p1-->id=”secondo”
body{
background-image:url("sfondo1.jpg");
background-repeat:no-repeat;
background-attachment:fixed;
background-size:100%;
background-position:center;
background-color:darkblue;
font-family:verdana;
font-size:12pt;
color:white;
margin:opx;
}
HTML-comandi
Inserire del testo breve:
Nome: <input type="text" name="no"><br/>
Opzione, se ne può scegliere solo uno:
<input type="radio" name="se" value="M" >Maschio
<input type="radio" name="se" value="F" checked>Femmina
Ne puoi scegliere più di uno:
<input type="checkbox" name="i1" >Sport
<input type="checkbox" name="i2" >Musica
<input type="checkbox" name="i3" >Cinema
Opzioni a tendina:
<select name="cl">
<option>IV A*</option>
<option>IV B*</option>
<option>IV C*</option>
</select>
Messaggio:
<textarea name="me" rows="5" cols="30">scrivi qui.....</textarea> <br/>
Resetta o invia alla fine:
<input type="submit" name="p1" value="Invia">
<input type="reset" name="p2" value="Cancella">
Video da Youtube:
-scegli video da youtube
-clicca su condividi -incorpora
-copia il codice che compare e incolla
<audio controls autoplay>
<source src="goldrake.mp3" type==audio/mpeg">
</audio>
<video width="640" height="480" poster="studenti.jpg" loop muted controls>
<source src="fish.mp4" type="video/mp4">
</video>