
Modulo 1 – introduzione HTML/CSS
<!DOCTYPE html> mi indica la pagina HTML HTML: linguaggio markup, significa fatto
<html> indica inizio della pag HTML su dei TAG, che iniziano su una parentesi
angolare e termina con un
</html> mi indica la fine della pagina altro.
<!DOCTYPE html>
<html> inizio
<head> sempre, contiene i tag secondo cui il browser riesce a creare la
pagina, ma non contiene nulla di ciò che l’utente veda
<meta charset="utf-8"> offre maggiori informazioni su come creare la pagina
Es. se si stanno usando alfabeti come quello inglese, e non uno
più complicato come l’inglese, vi è il tag
<meta charset="utf-8">
<title>New Webpage</title> TAG che si usa per il titolo della pagina nei bookmeck e nei risultati di
ricerca
< title>ciò che magno in una giornata</title> titolo con tag chiusura
</head> chiusura del tag della testa, della zona sopra
<body> tag che mi spiega il resto del corpo.
<h1>All about rabbits!</h1> <h1>cosa mangio!</h1> tag del titolo
TITOLI: <h1-2-3-4-5-6> - </h1-2-3-4-5-6>
Andare a capo: bisogna segnarlo <br> break: no TAG x concluderla,
solo di inizio
</body>
</html> fine
Molti tag si scrivono in coppia, ma non tutti
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>All about rabbits!!</title>
</head>
<body>
<h1>All about rabbits!</h1>
<h2>Basic info</h2>
<p>Rabbits are little creatures with long ears and
puffy tails, and they move their nose up and down
in an adorable way. They eat the most orange
vegetables in our world, and they reproduce more
than any human ever has.</p>
<h2>Songs</h2>
<p>Little Bunny Foo Foo, <br>
I don't want to see you <br>
scooping up the field mice <br>
and bopping them on the head!</p>
</body>
</html>
All about rabbits!
Basic info
Rabbits are little creatures with long ears
and puffy tails, and they move their nose
up and down in an adorable way. They eat
the most orange vegetables in our world,
and they reproduce more than any human
ever has.
Songs
Little Bunny Foo Foo,
I don't want to see you
scooping up the field mice
and bopping them on the head!