> For the complete documentation index, see [llms.txt](https://learn.ziomark.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.ziomark.xyz/html/parte-1-introduzione-a-html.md).

# Parte 1: Introduzione a HTML

Benvenuti alla prima lezione del nostro corso di HTML! Oggi esploreremo cos'è HTML, la sua storia, perché è così importante nel mondo dello sviluppo web, e come potete iniziare a utilizzarlo per creare le vostre prime pagine web.

### Cosa è HTML?

HTML, che sta per HyperText Markup Language, è il linguaggio di markup standard per la creazione di pagine web e applicazioni web. Con HTML, si possono creare struttura e contenuti di una pagina, come testo, immagini, video e altri elementi interattivi.

### Breve Storia di HTML

HTML fu creato da [Tim Berners-Lee](https://it.wikipedia.org/wiki/Tim_Berners-Lee), un ingegnere e informatico britannico, mentre lavorava al CERN nel 1990. Il primo prototipo di HTML era un linguaggio semplice che permetteva di collegare documenti di testo tramite hyperlink, rendendo facile la navigazione tra di essi. Da allora, HTML è cresciuto enormemente in complessità e capacità, evolvendosi attraverso varie versioni fino all'attuale HTML5, che supporta grafica avanzata, multimedia e molte altre funzionalità per applicazioni web moderne.

### Perché Usiamo HTML?

HTML è la base di tutto il web. È usato per strutturare e organizzare il contenuto sulle pagine internet e funge da fondamento su cui si costruiscono stili ([CSS](/css.md)) e comportamenti interattivi ([JavaScript](/javascript.md)). Senza HTML, non ci sarebbero pagine web, solo testo puro e non formattato. Ogni sito web che visitate è costruito usando HTML, rendendolo uno degli strumenti più essenziali per qualsiasi sviluppatore web.

### Esercizio Iniziale

Per iniziare a mettere in pratica quello che abbiamo imparato, creiamo una semplice pagina HTML che contenga un titolo, un paragrafo e un immagine.

#### Istruzioni:

1. Apri il tuo editor di testo preferito.
2. Crea un nuovo file e salvalo con l'estensione `.html`, per esempio `mioPrimoFile.html`.
3. Copia e incolla il codice seguente nel file:

```html
<!DOCTYPE html>
<html lang="it">
<head>
    <meta charset="UTF-8">
    <title>La mia prima pagina HTML</title>
</head>
<body>
    <h1>Ciao, mondo!</h1>
    <p>Questo è il mio primo paragrafo in HTML, che eccitante!</p>
    <img src="la_mia_immagine.png">
</body>
</html>
```

4. Salva il file dentro una cartella del tuo pc e successivamente aprilo con il tuo browser preferito (Edge, Google Chrome, ecc...) per vedere la tua prima pagina web!

<figure><img src="https://i.imgur.com/thVQZZG.png" alt=""><figcaption><p>Come aprire il proprio file .html nel browser</p></figcaption></figure>

<figure><img src="/files/9DDBa1lwIVW2fJIirYX7" alt=""><figcaption></figcaption></figure>

### Conclusione

Complimenti! Hai creato la tua prima pagina web utilizzando HTML. Ora hai una comprensione di base di cosa sia HTML, la sua storia e perché è così importante nel design e sviluppo web. Nelle prossime lezioni, approfondiremo altri elementi di HTML, come liste, immagini, form e molto altro.

Buona programmazione e alla prossima lezione!


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://learn.ziomark.xyz/html/parte-1-introduzione-a-html.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
