Image Details
We have already practiced with images. It is written as <img> and is an empty tag, meaning it does not have a closing tag like regular HTML elements.
srcattribute is used to specify the source or location of the image.
index.html
altattribute specify alternative text for the image in case the image cannot be displayed.
index.html
widthandheightattributes are also crucial for thetag, as they specify the image's dimensions in pixels.
index.html
titleis used to specify additional information about the image.
index.html
Task
- Set the
langattribute to"en". - Create a
<title>tag with the contentChallenge. - Create a top-level heading with the content
Welcome to my webpage. - Add an
srcattribute with a path to an image you want to add. Also, add analtattribute. - Add the
bandemtags to the paragraph.
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 4
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Mi faccia domande su questo argomento
Riassuma questo capitolo
Mostri esempi dal mondo reale
Awesome!
Completion rate improved to 3.45
Image Details
Scorri per mostrare il menu
We have already practiced with images. It is written as <img> and is an empty tag, meaning it does not have a closing tag like regular HTML elements.
srcattribute is used to specify the source or location of the image.
index.html
altattribute specify alternative text for the image in case the image cannot be displayed.
index.html
widthandheightattributes are also crucial for thetag, as they specify the image's dimensions in pixels.
index.html
titleis used to specify additional information about the image.
index.html
Task
- Set the
langattribute to"en". - Create a
<title>tag with the contentChallenge. - Create a top-level heading with the content
Welcome to my webpage. - Add an
srcattribute with a path to an image you want to add. Also, add analtattribute. - Add the
bandemtags to the paragraph.
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 2. Capitolo 4