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.
src
attribute is used to specify the source or location of the image.
index.html
alt
attribute specify alternative text for the image in case the image cannot be displayed.
index.html
width
andheight
attributes are also crucial for thetag, as they specify the image's dimensions in pixels.
index.html
title
is used to specify additional information about the image.
index.html
Task
- Set the
lang
attribute to"en"
. - Create a
<title>
tag with the contentChallenge
. - Create a top-level heading with the content
Welcome to my webpage
. - Add an
src
attribute with a path to an image you want to add. Also, add analt
attribute. - Add the
b
andem
tags to the paragraph.
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 4
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Suggested prompts:
Запитайте мені питання про цей предмет
Сумаризуйте цей розділ
Покажіть реальні приклади
Awesome!
Completion rate improved to 3.45
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.
src
attribute is used to specify the source or location of the image.
index.html
alt
attribute specify alternative text for the image in case the image cannot be displayed.
index.html
width
andheight
attributes are also crucial for thetag, as they specify the image's dimensions in pixels.
index.html
title
is used to specify additional information about the image.
index.html
Task
- Set the
lang
attribute to"en"
. - Create a
<title>
tag with the contentChallenge
. - Create a top-level heading with the content
Welcome to my webpage
. - Add an
src
attribute with a path to an image you want to add. Also, add analt
attribute. - Add the
b
andem
tags to the paragraph.
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 4